Disable rows |
Post Reply |
Author | |
GetLife31
Newbie Joined: 20 December 2013 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 20 December 2013 at 10:11am |
Hi everyone
I want to disable a single row, so that it is grey and it can't be selected. Is that possible? I've found no property on rows or record to do this. Can anybody tell me? |
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Hi,
I don't believe there is a property for this, however this can be done by simply using a hidden column to store whether it is disabled or enabled i.e. a true or false boolean. Then using BeforeDrawRow you can have it grey out the disabled rows. As for the selection you just handle this on the MouseDown or MouseUp events. It's a workaround and to be honest is not all that hard to implement. |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |