Jump to content


Uwe Raabe

Member Since 24 Sep 2007
Offline Last Active Oct 23 2021 05:18 PM
-----

Topics I've Started

Content of Invisible Cells in NextDBGrid

24 July 2020 - 05:59 PM

Hi,

 

when iterating over the Cells of a NextDBGrid during an OnAcceptEdit event, the content of invisible Cells is sometimes wrong, often just empty. Is this to be expected?

 

Regards

Uwe

 

Content of Invisible Cells in NextDBGrid

24 July 2020 - 04:13 PM

Sorry, wrong folder...

 

Hi,

 

when iterating over the Cells of a NextDBGrid during an OnAcceptEdit event, the content of invisible Cells is sometimes wrong, often just empty. Is this to be expected?

 

Regards

Uwe


CheckBox Column with Check-All Functionality

06 May 2020 - 10:29 AM

I have a requirement for a CheckBox column with a checkbox placed in the header with the following functionality:

  • When all rows in this column are checked, the header checkbox shows checked
  • When any row in this column is unchecked, the header checkbox shows unchecked
  • When the header checkbox is unchecked and clicked, all rows in that column are checked
  • When the header checkbox is checked and clicked, all rows in that column are unchecked

Currently I handle this by using an image for the header checkbox and change that according to the state, but that has some drawbacks:

  • The image in the header is not identical to the checkbox in the grid rows
  • I can only react on the header click and not on the header image click. This contrasts to the checkbox click in the rows, where I have to click on the checkbox while a click on the rest of the cell is ignored

Perhaps I am missing something?

 

On the other hand I would file this as a feature request for the CheckBox column  :)