I'm looking for a way to lock the layout of the pivotgrid, so that the user cannot drag / move / remove dimensions or meassures.
(In some scenarios it isn't usefull to change the layout and the pivotdataselector is not displayed. If the user accidentally drags one of the dimensions out of the grid there is no way to put it back.)
Hi,
Well, we found a way around it, by disabling certain gui elements from code behind.
The suggested solution using styling looked nice, but since we need to turn dimension reordering on and off at will it didn't work for us.
Thanks anyway, Mikael
HI Mikael,
I am touching base with you to see if you were able to implement the suggested approach and/or if you had further questions on this matter.
Thanks,
Thanks, both of you, for the quick answer.
I will have a look at the styling and see how I can implement it. I need a way to switch the behaviour at will from the viewmodel each time a new set of data is loaded into the grid.
Hi
You can look at this sample
http://samples.infragistics.com/sldv/RunSamples.aspx?cn=pivot-grid#/pivot-grid/disable-drag-and-drop
RegardsTodor
Hi Mikael,
You can disable drag and drop by restyling pivot field item controls, As an example you can see this sample: http://samples.infragistics.com/sldv/RunSamples.aspx?cn=pivot-grid#/pivot-grid/disable-drag-and-drop
Regards,
Mircho