As explained in the title...
In a grid, column #1 is a checkbox column.
when pushing a button, I perform action depending of the state of the box for each row.
But I want this checkbox remain unchecked for particular rows: the checkbox should be disabled.
How to do that ?
I believe the locked property can solve my problem, but It seems not to work as I wish
Regards.
How to use the Locked property of a cell
Started by qi130, Nov 02 2007 09:54 PM
2 replies to this topic
#1
Posted 02 November 2007 - 09:54 PM
#2
Posted 03 November 2007 - 02:43 PM
Hello,
Unfortunatelly, this can't be done with Locked property. Instead, this need to be done with OnBeforeSelect, or with OnBeforeEdit events.
Both events have ACol and ARow parameters and Accept parameter. After setting Accept parameter to False, you will not be able to select/edit this cell.
Best regards
Unfortunatelly, this can't be done with Locked property. Instead, this need to be done with OnBeforeSelect, or with OnBeforeEdit events.
Both events have ACol and ARow parameters and Accept parameter. After setting Accept parameter to False, you will not be able to select/edit this cell.
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#3
Posted 03 November 2007 - 04:38 PM
Ok Boki,
I choose OnBeforeEdit event to manage this...
Thx
I choose OnBeforeEdit event to manage this...
Thx
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users