|
-
Jun 10th, 2003, 11:32 AM
#1
Thread Starter
New Member
bool column in datagrid
okay I have a datagrid which is bound to a datatable. I dynamically created a datagridboolcolumn - everything works fine and the datagrid displays properly - but how do I after set readonly to true for any checkbox that is currently checked? I'm trying to use the click event and evaulate if it is a checkbox field and its value and then just reset the value back to true - but doesn't seem to work. How do I do this - with a customstyle?
Thanks
-
Jun 10th, 2003, 03:54 PM
#2
Thread Starter
New Member
Problem Solved
Okay this was a pain but was able to do this with a delegate and custom event. I created my own datagridboolcolum and used raise event to call a sub where I checked the value and handled it appropriatley.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|