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 selection on certain rows. #179

Open
happyhua opened this issue May 16, 2019 · 2 comments
Open

Disable selection on certain rows. #179

happyhua opened this issue May 16, 2019 · 2 comments

Comments

@happyhua
Copy link

This is a feature request.

I wonder if it is possible to disable (disallow) the selection of certain rows in the datatable.

It would be nice if MaterialDataTable provides you an API called for example: setRowSelectionEnabled(int index, boolean enabled);

Currently you can select any rows if SelectionType is MULTIPLE.

image

@kevzlou7979
Copy link
Contributor

Im pretty sure theres a way we can disable the selection. Go to gwt.material.design.client.data.SelectionType and datatable.setSelectionType(NONE)

@kevzlou7979
Copy link
Contributor

But if you are referring to certain / specific row, then this might be a feature request

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

No branches or pull requests

2 participants