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 ag-grid #1231

Closed
joma167 opened this issue Oct 31, 2016 · 2 comments
Closed

disable ag-grid #1231

joma167 opened this issue Oct 31, 2016 · 2 comments

Comments

@joma167
Copy link

joma167 commented Oct 31, 2016

Is there a way to disable (no scrolling, filtering, sorting, selecting) an instance of ag-grid, the same way as a button or an input element can be disabled?

@ceolter
Copy link
Contributor

ceolter commented Nov 1, 2016

no.

nothing in the grid for that.

what you can do yourself is put an overlay over the table yourselv - this means, in your javascript, put a div over the grid's div, with same height etc, but make the background transparent (or blank with 80% transparancy to put a grey tint onto it). that will block all mouse events getting to the grid.

@ceolter ceolter closed this as completed Nov 1, 2016
@joma167
Copy link
Author

joma167 commented Nov 2, 2016

Thanks a lot for the answer :-) was not sure if I missed it in the docu. The overlay will work for me, didn't think about that before.

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