Hi,
We've noticed a bug in the latest release in relation to the columns display in data grid table. When a boolean type column's width is set to 0, instead of not showing in the grid table as previous version does, the checkboxes icons are still shown.
Please see the modified Demo sandbox project:
https://codesandbox.io/s/column-customization-devextreme-data-grid-forked-rvpk2
I've added a column 'Overseas' of boolean type, and set its width to 0, along with it, I've set its neighboring column of string type 'Position' to have 0 width as well. After rendering, 'Postion' is 'hidden' properly, while, checkboxes are still shown for 'Overseas'.
(the reason to set the width to 0 instead of set the column to not displayable, is that we can still get the cell information for the column when we pass the row information back to the server for example. We use this method in many screens we have in our project).
Kind regards,
Joseph
Hi Joseph,
Thank you for the sample. I've passed this case to our developers for research. We will update this ticket as soon as we have any news. In the meantime, I suggest that you use onRowUpdating handler as we suggested here: dxDataGrid passes only modified values to the CustomStore.update method. Then, set the column's visible option to false. Using this solution, you can access all of a row's data regardless of the column configuration.
Regards,
Luis
great, thanks for that Luis.