This is a migrated thread and some comments may be shown as answers.

Change cursor when expending column

4 Answers 44 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Amit Patel
Top achievements
Rank 1
Amit Patel asked on 13 Jul 2011, 06:26 PM
Hello,
I have a gridview that has regualr column and frozen column. I need to be able to show differnet cursor when forzoen column is expended and when regular column is expended. Is there a way to do this with gridview?

Thanks,
Amit

4 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 14 Jul 2011, 09:48 AM
Hi Amit Patel,

I have prepared an example project that illustrates a possible solution for your case. Please, refer to it and inform us whether this approach meets your requirements.

Regards,
Ivan Ivanov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Amit Patel
Top achievements
Rank 1
answered on 14 Jul 2011, 02:17 PM
Ivan,

Thanks for the quick reply!
The solution your provided seems to work fine. It just layout event code was't wired up.

Thanks,
Amit
0
Amit Patel
Top achievements
Rank 1
answered on 31 Aug 2011, 06:14 PM

Ivan,
I implemented your solution for changing the cursor, but  it looks like the icon for the cursor when hovering over the column resize and freeze pane is not consistent.

When resizing columns that do not have the freeze pane, the cursor is a line with two arrows at the ends.  However, the resize is a hand cursor for resize when the freeze pane is present.
I would think resize should always be the line with arrows, and the moving of the freeze pane should be either the hand or something different.  I don’t think it makes sense for resizing to be the line with arrows sometimes and the hand at other times.

Any idea?

Thanks,
Amit

 

 

0
Ivan Ivanov
Telerik team
answered on 03 Sep 2011, 12:00 PM
Hi Amit Patel,

I have updated my initial project. Please, refer to the new version.

Greetings,
Ivan Ivanov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
GridView
Asked by
Amit Patel
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Amit Patel
Top achievements
Rank 1
Share this question
or