ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Expandable grid miscalculate right side data table width, display issue

Open yleigh opened this issue 11 years ago • 9 comments

Hi, I'm new to AngularJS. I'm trying to follow the tutorial on 'expandable grid', using rc-16. The Expandable feature works now. However, it appears that Ui-grid is calculating the real data table width too much, which resulting in the data table showing underneath the expandable column. Should I try the unstable build? I don't see any other style conflicting that? If I manually fixed the width in Chrome browser, then it's shown correctly. Thanks.

yleigh avatar Dec 05 '14 03:12 yleigh

I have had quite a few issues with the Expandable feature as well. I was going to try to get time today to create a plunker example of the issues I was seeing. At this point as a work around I have found that setting the height and width of the ui-grid element for the expandable grid kind of works. In addition to the issues you describe, I have also noticed that the scrolling does not take into account having the header row hidden.

kevin-sage avatar Dec 05 '14 12:12 kevin-sage

As I'm new to AngularJS, I'll wait a bit longer for expandable row. I can come back later to visit it.

yleigh avatar Dec 05 '14 14:12 yleigh

I am new to doing open source coding, so tonight and this weekend I am going to dig into this and see if I can get it to work.

kevin-sage avatar Dec 05 '14 15:12 kevin-sage

@jpuri: is this something that you've seen before?

PaulL1 avatar Dec 10 '14 06:12 PaulL1

Solution offered 2 weeks ago, no comments since, assuming original issue resolved.

PaulL1 avatar Dec 26 '14 20:12 PaulL1

I didn't get any solution for this issue though. Could you leave this open?

yleigh avatar Dec 27 '14 02:12 yleigh

OK, what are the next steps then. I'd gotten the impression there was something more needed to illustrate your problem. Perhaps a plunker?

PaulL1 avatar Dec 27 '14 02:12 PaulL1

I created a Plunker. The plunker works fine:http://plnkr.co/edit/KJJWKpMCOZs7lZ6Jeu9f I guess it could be that Im' missing the ui.grid.pinning dependency, or maybe some style conflict. You can close this for now. I'm already switching to flat table as there is no easy way to automatically fit the expanded table height to contents.

yleigh avatar Dec 30 '14 17:12 yleigh

OK, best of luck then.

PaulL1 avatar Dec 30 '14 18:12 PaulL1