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

Changing cursor on GridGroupingControl

Thread ID:





22742 Dec 21,2004 06:09 AM UTC Dec 21,2004 09:05 AM UTC WinForms 1
Tags: GridControl
Sameer Patil
Asked On December 21, 2004 06:09 AM UTC

Hi I am trying to change the cursor on a GridGroupingControl. But it does not seems to work. this.portfolioHoldingGrid.Cursor = System.Windows.Forms.Cursors.WaitCursor; Even after this statement I see the cursor as the default arrow cursor. The cursor only turns to hourglass at the bottom edge and the top edge of the grid. What could be wrong? Thanks Sameer

Administrator [Syncfusion]
Replied On December 21, 2004 09:05 AM UTC

Tere is no property setting that will allow you to control the cursor. The TableControl in the GridGroupingControl manages the cursor through a mousecontroller architecture that allows it to manage the different mouse requirements. There are two options to control teh cursor. One is to write a mousecontroller and register it with the tableControl, and the other is to derive the TableControl and override OnSetCursor. The simplest of these options is to override tableControl.OnSetCursor. You also have to override teh GridGroupingControl to allow it to create an instance of your TableCOntrol class. Here is a sample.


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