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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

remove sort icon (triangle)

Thread ID:





29458 May 25,2005 06:39 PM UTC May 25,2005 07:02 PM UTC WinForms 1
Tags: GridControl
Andrew E
Asked On May 25, 2005 06:39 PM UTC

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

Administrator [Syncfusion]
Replied On 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";


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon