web-components
web-components copied to clipboard
[grid] Dynamically set selectability per row
It would be useful if there was an option to be able to disable the checkboxes in vaadin-grid-selection
. An example use-case would be if the user would not allow the item to be selected if the item currently had no stock available, or if the item was not available to the user and other similar use-cases.
The current workaround in Java project https://cookbook.vaadin.com/grid-conditional-select
Is there a similar way to achieve this in the typescript version?
Acceptance Criteria with API design proposal: https://github.com/vaadin/platform/issues/4956