Hello,
I want to make the columns movable at run time in such a way that user can drag any column to any position desired.
Thanks for help, KSOMI
this new feature is introduced in 8.2 and a sample is available in the feature browser.
Hi KSomi,
Definitely, you can reorder the XamDataGrid columns through drag and drop at runtime using our new built-in feature - Moveable Fields.If you need some more information on applying this new built-in feature, please take a look at the Move fields thread<http://forums.infragistics.com/forums/t/11227.aspx> .If you need to reorder the XamDataGrid columns through using code at runtime you could use the suggested solution atColumn Sort Order <http://forums.infragistics.com/forums/t/11210.aspx>.
Best Regards,Yanko
Hi Yanko,
Thanks for your reply. But this was not something I expected. What I want is to be able to drag and drop any column header to new position, thereby achieving reoder.
See the link below where Infragistics have said that the same is possible:
http://help.infragistics.com/NetAdvantage/WPF/2008.2/CLR3.x/
Here, please go to Developer's Guide > What's new > Whats new in 2008 v2 > Movable fields for XamDataPresenter.
Definitely, it's possible.I would advise you to take a look at the suggested solution in answer to the question - "how could we reorganise(reorder) the xamDataGrid columns throughusing code at runtime ?" Column Sort Order <http://forums.infragistics.com/forums/t/11210.aspx>