0

Is there a way to disable click-on-header-sort in dojo's GridX ? I would like to still be able to sort it programmaticaly but user need to have that option blocked.

ChrisB
  • 55
  • 1
  • 8

1 Answers1

0

Sorting will happen when you used a module related to that like "gridx/modules/SingleSort " or "gridx/modules/NestedSort"

You can try un-registering if you have used such modules.

If you want to disable sorting on a specific column of the grid then you can use

grid.column(column_Number).setSortable(false);

By default "Sort" is set to true

bajji
  • 1,271
  • 3
  • 15
  • 37