I have a master/detail grid that I bind to a Dataset. Everything works fine with that. When i click on the header in the detail grid it sorts like I would expect. How do I programatically do this?
I was trying something like.
Dim mydtgrid As DetailGrid
mydtgrid = Me.GridControl1.DetailGridTemplates(0)
mydtgrid.Columns(1).SortDirection = Ascending
it tells me my detail grid doesn’t have any columns even though it does.
Any help?
Thanks
Imported from legacy forums. Posted by wcombs (had 1912 views)