-
Notifications
You must be signed in to change notification settings - Fork 2.5k
In contrast to #2170 , how to enable/disable(show hide) Selection column dynamically #2181
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
Comments
I'm not clear on your question. When you say you can't set There is no api other than the gridOption (which is itself an API), but it may be that we need to make that option dynamic, so this would be another variant of #1819 |
Please have a look at http://plnkr.co/edit/e0TxTvCXRRp4cqggoHGd?p=preview |
Right now grid options like that are not being watched for updates, I don't think. That's someone that's been discussed but I don't think we've landed on a consensus. I'm going to mark this as an enhancement, and it's probably something we need to address. |
I believe this has now been addressed, selection can be turned on and off. |
Having the same issue and can confirm this has not been addressed yet, at least as far as I can tell. However the UI doesn't update even after grid.refresh(); and notifyDataChange. |
I have exactly the same issue. Any workaround ? |
It seems there is still not an option to show/hide the row headers columns. The work around we use it to show/hide the checkboxes by adding/removing a .ui-grid.disable-row-selection {
.ui-grid-selection-row-header-buttons {
display: none;
}
} |
Thanks its working fine |
How should i show or hide the selection column dynamically ie on a button click? I cant set the $scope.gridOption.enableRowHeaderSelection= false on the button click. I can hide the coloumn by hiding it or setting the visibilty to false by the api. Is there any way to hide/show the selection column through api not through grid option?
The text was updated successfully, but these errors were encountered: