-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Problems with custom header cell template and column menu #1603
Comments
Is this the show selection to enable selecting rows? If so, is that not what the selection feature already does? |
If there is a feature in the 3.0 version that mimics the same functionality as the showSelectionCheckbox option in the 2.x version, then please let me know because I am not aware of it. @PaulL1 I am not really sure what you are referring to. If you are talking about having the user just click anywhere on the row to select the row, then that is not what I am talking about. Regardless of the feature I am trying to implement, the two issues should still be fixed. I was just trying to give some context. |
@wattsbn Yes the checkbox to select row feature is in 3.0: http://ui-grid.info/docs/#/tutorial/210_selection Does that solve your issue? |
@c0bra No, it does not solve my issue. The issues I mentioned above are present in that doc example as well. The column menu shouldn't steal click events from the column header. Maybe it could be as easy as changing the z-order when its not visible. |
I'll take a look at this, the aim being to allow a cleaner method to disable column menus for one or more columns. |
…w disableColumnMenu Also allows disabling the hide column menu option. Includes new e2e test for 303 tutorial.
@PaulL1 I have looked at your recent merges for disabling the menu column. It does not fix two of the issues that are mentioned here.
|
OK, I see that. It's coded for a long press on a mobile device. I can suppress that as well. |
…i#1603 angular-ui#1604 Also fixes issue where column menu still displayed with a long press even where column menu was disabled for that column.
I am trying to add a column in 3.0 that mimics the functionality that the showSelectionCheckbox option provides in the 2.x version. I have provided a simple header cell template that just has a checkbox in it and noticed a couple of issues.
I modified one of the doc example to reproduce these problems:
http://plnkr.co/edit/1sd3QAa6V7OhrGu5ityu
(for some reason the icons seem to be messed up in the plunker, not sure why)
The text was updated successfully, but these errors were encountered: