angular-ui / ui-grid

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

Last few subgrids in expandable grid don't align with their "+" icon #2863

Open ComeOutToPlay opened 9 years ago

ComeOutToPlay commented 9 years ago

Hello,

I am working with expandable grid with version ui-grid RC 20.

I started from the ui-grid site,example in http://ui-grid.info/docs/#/tutorial/306_expandable_grid

I defined a template as follows:

Then, I defined gridOptions with expandableRowHeight: 140.

But when I scroll in the table with all element expanded, the last subgrid contents are not aligned with "+" icon.

My plnkr example is in:

http://plnkr.co/edit/CZOnLkPnj1EaF1JAYneI?p=preview

PaulL1 commented 9 years ago

Your plunker doesn't work at all for me - the subgrid never populates, and I don't see the misalignment that you point to. Is the plunker broken?

ComeOutToPlay commented 9 years ago

Hello Paul.

I tested the plunkr in other machine with Chrome Version 40.0.2214.115 m and it works ok, but with chinese symbols (I guess).

The main table has one column (ID) , but if you expand it completely, you can see the subGrids. The problem happens when you expand all data.

PaulL1 commented 9 years ago

It's giving an error: "Error: Could not get template expandableRowTemplate.html: [object Object]", and not running at all for me.

ComeOutToPlay commented 9 years ago

Well. You can see the same problem in

http://ui-grid.info/docs/#/tutorial/306_expandable_grid

at ui-grid site at the first demo, please expand all the grid (it will take some time) and go down slowly, and you will see the alignment problem.

c0bra commented 9 years ago

Confirmed the alignment issue. @jpuri would this be something you could look at?

jpuri commented 9 years ago

Hi @c0bra ,

I will check this.

JLLeitschuh commented 9 years ago

This is still an issue

orifzunnunov commented 8 years ago

+1

nyamburamuhia commented 4 years ago

+1