This is a migrated thread and some comments may be shown as answers.

Enable or Disable checkbox in React Kendo grid

1 Answer 921 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Abhishek
Top achievements
Rank 1
Abhishek asked on 08 Apr 2021, 01:00 PM

Do we have any way show checkbox enabled or disabled in React Kendo grid when using the below selected field.

<Column
          field="selected"
          width="75px"
          filterable={false}
          headerSelectionValue={
            data.findIndex(dataItem => dataItem.selected === false) === -1
          }

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 08 Apr 2021, 01:14 PM

Hello, Abhishek,

This will require using a custom cell and rendering the checkbox programmatically in order to add the disabled attribute dynamically:

https://www.telerik.com/kendo-react-ui/components/grid/api/GridColumnProps/#toc-cell

Regards,
Stefan
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
General Discussions
Asked by
Abhishek
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or