Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable checkbox per individual rows #1754

Closed
4 of 8 tasks
CPedrini opened this issue Sep 23, 2019 · 3 comments
Closed
4 of 8 tasks

Disable checkbox per individual rows #1754

CPedrini opened this issue Sep 23, 2019 · 3 comments

Comments

@CPedrini
Copy link

CPedrini commented Sep 23, 2019

Which version of React JS are you using?

✅ Officially supported ✅

  • v15.4.x

Which browser are you using?

✅ Officially supported ✅

  • IE 9 / IE 10 / IE 11
  • Edge
  • Chrome

⚠️ Not officially supported, but "should work" ⚠️

  • Firefox
  • Safari

I'm submitting a ...

  • 🐛 Bug Report
  • 💡 Feature Request

Issue Details

Hi, currently I have a simple grid with rowSelection implemented. For some business reason I need to be able to remove or, preferably, disable the checkbox on a few specific rows.

I would like to be able to implement this by using the default checkbox implementation but I couldn't found any specific property that allow me to get the desired behavior.

In the meantime, should I just simply implement a specific frozen column with a custom cell action?

@marshallcool
Copy link

so what is next ?

@igoriok1994
Copy link

Also you can write custom cell formatter instead of using standard checkboxes. There you can access whole row object and write a if-else statement (show/hude your custom checkbox for individual rows)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants