how to set the datagridview columns to allow user to click to sort

  • Thread starter Thread starter AboutJAV
  • Start date Start date
A

AboutJAV

Hi,

I have a datagridview with 3 columns. the grid selectionmode is set
to

this.grid.SelectionMode =
System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;


I even set the columns sort property to

System.Windows.Forms.DataGridViewColumnSortMode.Automatic


When the form is loaded and any of the 3 columns are clicked, nothing
happens. The data does not reordered in any directions.

Any advice is appreciated.

Thanks,
 
Back
Top