C1GridView sort glyphs

Originally Posted 11 December 2013, 10:08 am EST

  • Originally Posted 11 December 2013, 10:08 am EST

    Hello.

    Is there a way to set the sort glyphs on a grid from code? After I bind the data I want to show the sort order in the header the same way as if the user clicked it.
  • Reply

    Found it: ((C1Field)gridView.Columns[desiredColumn]).SortDirection = C1SortDirection.Ascending
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels