how to Sort a runtime Dynamically created datagrid using templates

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a datagrid that is creating columns dynamically at runtime using
the template columns.Edit ,add & delete works fine.
The only problem I face is with sorting,I am setting the sorting expression
to the column name and checked the allow sorting checkbox to true.
The code never reaches the DataGrid1_SortCommand,But I do see the underlines
in the header text which looks it will sorting.Any help is greatly
appreiciated.
Thanks
GP
 
Back
Top