angular-ui/ui-grid
Auf GitHub ansehenMulti-Column Header Experiment Help -- Parent column width stretches child column
Open
#3.694 geöffnet am 4. Juni 2015
good first issuetype: enhancement
Repository-Metriken
- Stars
- (5.395 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
Here is my plunker: http://plnkr.co/edit/fsJdENoN1ll4FUGsPzts?p=preview
I am trying out what's described here: http://stackoverflow.com/questions/29564283/any-better-approaches-in-achieving-multi-column-grouping-in-ui-grid-header
When I manually set the min and max column with on the "parent" column:
<div class="ui-grid-header-cell ng-scope" col-name="group2">
<div class="ui-grid-cell-contents ng-binding" style="min-width: 220px; max-width: 1000px;">Group 2</div>
It stretches the "child" column as well (the Title column is stretched). How can I "break" the association? Or how can I achieve multi-column header manually?
Thanks.