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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How To Remove Arrow on Row Headers

Thread ID:





12578 Apr 2,2004 12:47 PM UTC Apr 2,2004 06:49 PM UTC WinForms 4
Tags: GridControl
Administrator [Syncfusion]
Asked On April 2, 2004 12:47 PM UTC

whenever I click on a row header I get this arrow point to the right" cursor. How do I get rid of this?

Administrator [Syncfusion]
Replied On April 2, 2004 02:58 PM UTC

You can change the CellType of the "Row Header" basestyle to Header. this.gridDataBoundGrid1.BaseStylesMap["Row Header"].StyleInfo.CellType = "Header";

Administrator [Syncfusion]
Replied On April 2, 2004 04:31 PM UTC

Actually that Didnt work.. Also note: I get a "down arrow" cursor on the column headers as well that I do not want showing up. Basically the only cursor i want the grid to do is the sizing cursor.. everything else I want off

Administrator [Syncfusion]
Replied On April 2, 2004 05:13 PM UTC

Hi MCRB, Just turn off the column selection in the AllowSelection property (Gridcontrol --> Properties) to see if that helps. this.gridControl1.AllowSelection = ((((((Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Row | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Table) | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Cell) | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Multiple) | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Shift) | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Keyboard) | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.AlphaBlend); Regards, Jay N

Administrator [Syncfusion]
Replied On April 2, 2004 06:49 PM UTC

Also, to turn off the drag/drop cursor, you can use code like: this.gridControl1.ControllerOptions = GridControllerOptions.All & (~GridControllerOptions.OleDataSource); or in VB.NET Me.gridControl2.ControllerOptions = GridControllerOptions.All And Not GridControllerOptions.OleDataSource If you do not want you user to move columns/rows (whcih will sow a dragdrop cursor as well, make you you have the grid.AllowDragSelectedCOls and grid.AllowDragSelectedRows set to false.


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

Live Chat Icon For mobile
Live Chat Icon