Hi team, i have a datasource with many rows. Some columns may only be updated when other columns in the same row have specific values. To manage this i do this:
This works perfectly, however, it ONLY works for the rows visible in the panel. When i scroll down, the rows appearing next have not been changed with this procedure, so all checkboxes have been enabled. Offcourse that's a big problem. Is there a way to make this procedure work for all rows fetched? Kind regards, Jan Willem Vermeer |
Sorry team, this is not entirely true. It appears that setEnable DOES work for all rows. However, the visual attributes are not set correctly. For example i have a grid with 90 rows. Only 29 are visible at the same time. The visual attributes are set for rows 1 thru 35. So, when i scroll down, it looks as if setEnable is only working for the first 35 rows because the checkboxes have been greyed out. But i can also not check the checkboxes for row 36 thru 90 when they have been disabled. The cells displayed correctly have this class:
The cells not displayed correctly have this class:
So, for some reason bdf-grid-cell-neutral is added for rows 36 thru 90. Kind regards, Jan Willem |