user11122349
user11122349

Reputation: 11

How to show checkbox disabled for some rows in Vaadin Grid when using <vaadin-grid-selection-column>

My Polymer custom element has a Vaadin grid with say 10 rows. It allows selection of rows using vaadin-grid-selection-column, which renders checkboxes bound to the selection state of the grid on every row.

I need to:

I am not sure if

<vaadin-grid-selection-column auto-select></vaadin-grid-selection-column>

can be conditioned in any way to achieve the result. I appreciate any suggestions..

Upvotes: 1

Views: 747

Answers (1)

user3424586
user3424586

Reputation: 21

You can generate your own checkboxes in a renderer function. Check similar issue and solution in How to hook data-grid events in parent lit-element component?

Upvotes: 0

Related Questions