Jump to content


Photo

Not DB connectet Checkbox column


  • Please log in to reply
1 reply to this topic

#1 flores1980

flores1980
  • Members
  • 6 posts

Posted 04 October 2018 - 10:01 AM

I need to create a checkboxcolumn in a NextDBGrid to implement a multiselect. I need this one to be a "local" checkbox column wich not has to be connected to any database field because the software is multiuser so if the column is connected to a boolean database field, the selection will be shared by all the users and this could be a problem.
 

Any ideas?



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,743 posts
  • Gender:Male

Posted 30 October 2018 - 09:35 PM

Hi,

Please sorry for big delay.

One of ideas that I have is to use OnGetValue or OnGetText events of CheckBox column itself. You will not set Field property to this column but you will need to provide some kind of internal storage for checked/unchecked values.

Hope that this helps and sorry for delay again.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users