Click to See Complete Forum and Search --> : How to disable sorting in my datagrid contrl?


Farhad
March 25th, 2004, 11:45 PM
I want to disable sorting in my datagrid control; but its not working.

Have set its property to allowsorting=false, and also the datatableallowsorting=false

BUt its not working; have tried adding a style and set it readonly too; but :(

waiting for ur reply

newvisva
March 26th, 2004, 05:58 AM
I tried DataGrid1.AllowSorting = False in my form load and it works...

Are u using any sort of tablestyle?