-
Notifications
You must be signed in to change notification settings - Fork 2.5k
column header names often have ellipses when not needed v3.0.0-rc.16-9c495da #2305
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
A couple questions:
|
I am running in IE11 and cannot try another browser since we currently have a dependency on a .Net control. [cid:image001.png@01D013A4.E465DE70] The active layout is: [cid:image002.png@01D013A4.E465DE70]/steve Stephen R. Alpert, PhD T +1 617 519 2216
From: Brian Hann [mailto:notifications@github.com] A couple questions:
— |
@SteveRa FYI your image attachments didn't come through to github. |
I can't reproduce on in the column resizing tutorial in Chrome, but I do see it in IE11. Looks like it's particular to that browser. It's possibly because the text-overflow property is on the |
Pushing this to 3.1 and removing bug flag as I think it's a browser issue. |
This is actually a really annoying bug. It may be IE's fault, but I think we can make it less likely to happen. The problem is actually with the sort icon and not with the actual text of the header. If there isn't enough room for the sort icon, then IE will show an ellipsis. This will happen even if the column is not sortable because ui-grid only hides it. Adding the following to ui-grid.css will fix this situation:
It would be nice if you could at least add this one line for 3.0 instead of waiting until 3.1 |
This issue still exists, for me it is Firefox...ellipsis show up in header text when not needed..while Chrome it looks fine, .with overflow: initial, it does work , but I am checking if a ui grid version could help, thanks! |
Okay, after reviewing the comments in this bug, I believe that the reason for the overflow is a padding on the header column which is there to ensure there is always enough space for both the sort icon and column menu dropdown. It can be worked around with the help of CSS and I believe the solution provided by @wattsbn will work. If I get a chance I will do it, but PRs are welcome. |
I have several column headers (using field/name in ColumnDef) in v3.0.0-rc.16-9c495da - 2014-12-05.


The header looks like:
but if I popup the column menu, you can see that the headers are actually fully displayed:
The text was updated successfully, but these errors were encountered: