bosskmk / pluto_grid

PlutoGrid is a dataGrid for flutter that can be controlled by the keyboard on desktop and web. Of course, it works well on Android and IOS.
https://pluto.weblaze.dev
MIT License
637 stars 291 forks source link

[Help] Problem using multiSelect with checkbox column #936

Closed luisotavio-dev closed 8 months ago

luisotavio-dev commented 10 months ago

Hello. I'm trying to create a multiselect grid with a checkbox column in the first column. So far so good, it's working, but when clicking on the grid the selected property is not checked (I'm talking about the checkbox in the first column, created with 'enableRowChecked', this is not being checked), only the onSelected function is call. Is there any way to select the checked option whenever you click on any area of the line?

I tried to do it using the onSelected method and setting it to checked directly in the stateManager, but it doesn't work very well as it causes conflict between checked and selected, forcing me to double click to remove the selection, causing madness in the grid.

Can anyone help me? Thank you very much in advance.

github-actions[bot] commented 8 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 8 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.