Is it possible to disable few checkboxes on gridload based on status field. Caan you help m on this
Stefan
Telerik team
commented on 06 Sep 2021, 05:08 AM
Hello, Samatha,
I'm glad that the initial issue is resolved.
As for disabling the checkboxes, this can be done using a custom cell that will render the checkboxes. Then based on the row that the developer can disable them.
If additional assistance is needed, please post the question in a separate thread, as this can help other people from the community find it easier.
Hello, Samatha,
Could you please share more details on what specifically is breaking as I made an example and it seems to be working as expected:
https://stackblitz.com/edit/react-q1xedf?file=app%2Fmain.jsx
Please let me know if I missed something.
It is not working when we map data. Can u try adding map like below and check
data={dataState.map((item) => ({
...item,
[SELECTED_FIELD]:selectedState[idGetter(item)]
}))}
https://stackblitz.com/edit/react-q1xedf?file=app%2Fmain.jsx
If the issue still occurs, please update the example to reproduce it and I will be happy to take a look at it.
Issue is resolved. Thanks for your help Stefan.
Is it possible to disable few checkboxes on gridload based on status field. Caan you help m on this
Hello, Samatha,
I'm glad that the initial issue is resolved.
As for disabling the checkboxes, this can be done using a custom cell that will render the checkboxes. Then based on the row that the developer can disable them.
If additional assistance is needed, please post the question in a separate thread, as this can help other people from the community find it easier.