BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

UnboundCheckboxBoldOrRadStudioGrid

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Model Driven Architecture (General)
View previous topic :: View next topic  
Author Message
Alan
Guest





PostPosted: Wed Feb 21, 2007 4:11 am    Post subject: UnboundCheckbox\BoldOrRadStudioGrid Reply with 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
Efim Mett
Guest





PostPosted: Mon Mar 05, 2007 3:26 pm    Post subject: Re: UnboundCheckbox\BoldOrRadStudioGrid Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Model Driven Architecture (General) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.