how to Sort a runtime Dynamically created datagrid using templates

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top