remove sort icon (triangle)

How do you remove the little sort icon from the column header?

1 Reply

AD Administrator Syncfusion Team May 25, 2005 07:02 PM UTC

You can turn off sorting by setting this property. this.gridDataBoundGrid1.SortBehavior = GridSortBehavior.None; If you want to sort but not see the icon, you can use the PrepareViewStyle event.
private void gridDataBoundGrid1_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
{
	if(e.Style.CellType == "ColumnHeaderCell")
		e.Style.CellType = "Header";
}

Loader.
Up arrow icon