Hi,
I need to create a XamDataGrid with configurable columns. But the first column on the left should always be displayed on the left and never be moved from there.
- I need to disable the possibility to drag and drop this column.
- I need to prevent some other columns to be draged and droped on the left of this column.
does any body has suggestions?
Thanks
Hello Vishal,
I can suggest you see this forum thread:
http://es.infragistics.com/community/forums/p/91461/453100.aspx#453100
where a similar question is already discussed.
Is same functionality is available with XamGrid also?
Any workaround to handle such situation.
Thanks,
Vishal
Hello sahiljani,
AllowFieldMoving on the XamDataGrid's FieldLayoutSettings must be set to "Yes" before you will see the "FieldPositionChanged" event in the list of events. Here is the XAML code, and I have attached a screenshot.
<igDP:XamDataGrid Name="xamDataGrid1" Width="500" Height="300" BindToSampleData="True" >
<igDP:XamDataGrid.FieldLayoutSettings>
<igDP:FieldLayoutSettings AllowFieldMoving="Yes" />
</igDP:XamDataGrid.FieldLayoutSettings>
</igDP:XamDataGrid>
If it still does not show up in the Properties > Events window, try clicking on the XAML line with "<igDP:XamDataGrid.FieldLayoutSettings>" and check again.
Elizabeth AlbertLocalization Engineer
I have same problem but I am not able to find the "FieldPositionChanged Event" any where.
Will you please help me for that?
Thanks, it works perfectly.