We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

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.
Live Chat Icon For mobile
Up arrow icon