angular-ui / ui-grid

UI Grid: an Angular Data Grid
http://ui-grid.info
MIT License
5.39k stars 2.47k forks source link

ExpandableRowHeight not working #2551

Open flea19 opened 9 years ago

flea19 commented 9 years ago

I set the gridOption's expandableRowHeight attribute to 500 but it still seems to use the default 150px.

Looking into the issue further, it seems the ExpandableRowHeight is set correctly but the inner table's height does not change appropriately. If I set the expandableRowHeight to 100, the sub table actually overlaps the next row. If I set it to 500, there is a ton of white space after the sub table.

PaulL1 commented 9 years ago

This may be a duplicate of #2300 (I just changed the title to make it easier to find). @jpuri, do you think they're the same?

jpuri commented 9 years ago

expandableRowHeight will set the height of expanded row and its height will be fixed. Its upto user to then properly format the template inside expanded row. Unfortunately its limitation right now taht we can not have variable height for expanded rows. As suggested by @PaulL1 please check #2300 for more details.

kevin-sage commented 9 years ago

I noticed this same issue this weekend while looking at the changes I was working on. I am trying to track down the root cause of it.

sohampshetty commented 7 years ago

@PaulL1 @jpuri Do you know how can I increase height of div.ng-scope.scrollFiller? because the height of div.ng-scope.scrollFiller is to 152px and my expandable template height is 700px which makes the second row expandable button appear in middle like attached image.

image