I have managed to display my data in a pivot grid, now I want to prevent the user dragging the columns around - anyone know how to do this? Or at least, how to stop columns just disappearing if dragged to the wrong place!
I am using a flat DataSource as per the example given here: http://community.infragistics.com/forums/t/43319.aspx?PageIndex=2
I get the message:
The attachable property 'IsTopLeftCornerControl' was not found in type 'PivotGridPanel'
Please advise.
Hi,
The beauty of Silverlight and WPF is that you can change the UI of the component with out to have to know how they work. All this you can do by applying a new control template to the component.
To met the list with requirements you post above, all you need to do is to apply new control template to FieldItemControl.
I have attached a sample how to do that.
Hope this help.
Regards Todor
Thanks for that Todor. Unfortunately I do not know how to use Blend, as I have only just started using Silverlight - indeed I am evaluating various vendors' controls to see how well they match our requirements.
I have put together a little project that consists of just a pivot grid, so I can explain what I need.
* User can drag columns around. I do not want them to be able to move them.
* User can delete column and row headers by clicking on the little 'X". I need to hide this "X".
* I also need to hide the little filter button
I have attached a sample how to apply new style to the grid. By the way you use Blend to retemplate the control.
RegardsTodor
Also, how do I format my code properly in my posts????