hi,
iam using xamdatagrid and i have made sample application containing custome sorting and filtering etc.but i have done this with static columns.(columns specified in xaml itself.)now i have requirement that i want to create column dynamicallay and group some of the column .
how can i do this with MVVM.share me if anybody have any idea??
thanks..
Hello Jafar,
Thank you for your post. I have been looking into I, but it seems that I am mossing something in your scenario. Could you please be more specific when do you want to apply these custom sorting and grouping, on a button click e.g. or when the XamDataGrid is loaded. Since you can use the XamDataGrid’s FieldLayoutInitialized event to apply sorting and grouping, I can say that any event handling could be replaced with Interaction. Here you can see how to use them:
http://ko.infragistics.com/community/forums/p/70581/360161.aspx
Hope this helps you.