Janus Grid - Conditional Cell Locking

randy.buffingto

New member
Joined
Aug 2, 2006
Messages
1
Programming Experience
Beginner
I am using Janus Grid with Vb2005. I have a grid that has 2 columns. One column is an Account Number and the other column is an Amount column. I
want to lock users from updating the Amount column if the Account Number Columnn = -1. Any other number in the Account Number column the user should be allow to edit the amount. The Account Number column is locked and cannot be changed by the user(This works).

how do I lock the Amount cell if the Account Number is -1 for a row?

TIA,

rpb :confused:
 
You would have to check for the cell value of the Account Number then catch the event for the cell editing and cancel the edit. Janus's web forums can probably help you better if you need support on this control.
 
Back
Top