 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Alan Guest
|
Posted: Wed Feb 21, 2007 4:11 am Post subject: UnboundCheckbox\BoldOrRadStudioGrid |
|
|
I would like to add an unbound checkbox column to a grid that will allow
the user to select the record by checking the box. I have added the
column and selected it to be a checkbox, but when I click on the
checkbox nothing happens. How can this be done?
TIA |
|
| Back to top |
|
 |
Efim Mett Guest
|
Posted: Mon Mar 05, 2007 3:26 pm Post subject: Re: UnboundCheckbox\BoldOrRadStudioGrid |
|
|
Hi Alan,
I did in this situation the following:
- Define a transiant boolean attribute, e.g. "selected" on the class you
want to display in grid
- Bind this attrinute to your check box column over BoldProperties exactly
so as you do it with other attributes
A small disadvantage of this approach (or sometimes advantages): your
selections are not independent if you show the class in multiple grids, so
you have to manually take care about it.
/Efim
"Alan" <alan (AT) crowncabinetry (DOT) com> schrieb im Newsbeitrag
news:45db71d8$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I would like to add an unbound checkbox column to a grid that will allow
the user to select the record by checking the box. I have added the
column and selected it to be a checkbox, but when I click on the
checkbox nothing happens. How can this be done?
TIA |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|