PoeticAudio
asked on
Is the following possible in a Datagrid/Dataset?
Okay They are wanting me to have a datagrid that shows data from a particular table... There is a column in the table called wasMailed... it holds true or false. The datagrid displays this as a checkbox.
here is the tough part...
Any row that has a checkbox checked in the datagrid needs to be read-only, but the actual checkbox itself needs to be editable... So some rows will be read-only (depending on the check value) and some will not, but the wasMailed column will never be read-only...
Can that be done? (I'm sure it can, i'm just not quite sure how)
here is the tough part...
Any row that has a checkbox checked in the datagrid needs to be read-only, but the actual checkbox itself needs to be editable... So some rows will be read-only (depending on the check value) and some will not, but the wasMailed column will never be read-only...
Can that be done? (I'm sure it can, i'm just not quite sure how)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Basically what needs to happen is:
* you will need to capture the on cell edit of the gridrow and if the checkbox is ticked then cancel the event UNLESS the cell being edited is the cell containing the checkbox.
Regards,
Ready1