enterprise icon indicating copy to clipboard operation
enterprise copied to clipboard

Datagrid: Layout issue with frozen columns after updating the datagrid

Open ablomq opened this issue 2 years ago • 7 comments

Describe the bug If the datagrid has frozen columns they are misaligned after updating the datagrid. The header above the frozen columns disappear etc. This was not an issue in version 4.64.2. Think it was introduced from version 4.65.1 or possibly version 4.65.3. Maybe the issue is caused by this fix: 6290 - datagrid toolbar visible after fixing error/validation

Expected behavior The frozen columns should not be misaligned after updating the datagrid.

Version 4.66.0

Screenshots The two columns to the left are frozen columns:

image

After update of the datagrid: image

ablomq avatar Aug 16 '22 09:08 ablomq

@ablomq i think this is the same issue as https://github.com/infor-design/enterprise/issues/6697 And its been patched if you want to try 4.64.5 its also fixed in 4.65.4 or 4.66.0

tmcconechy avatar Aug 16 '22 13:08 tmcconechy

@tmcconechy Dont think it's the same issue. We are running the latest release, version 4.66.0 and the issue remains. It happens when some data used by the grid is changed.

ablomq avatar Aug 16 '22 14:08 ablomq

ok @ablomq it seemed related. how can this be reproduced in the examples exactly?

tmcconechy avatar Aug 16 '22 15:08 tmcconechy

Is there an example available with frozen columns and a refresh button which reload the data? Something similar to this:

image

ablomq avatar Aug 16 '22 15:08 ablomq

I made a similar example https://github.com/infor-design/enterprise/commit/6187a58301f8b2ddb659d28ccbb60471da0196f8 but i could not see the issue

Url is http://localhost:4000/components/datagrid/test-list-update.html if local

tmcconechy avatar Aug 16 '22 17:08 tmcconechy

Maybe this is an angular issue? I'll try to setup an example in Stackblitz.

ablomq avatar Aug 19 '22 13:08 ablomq

Sure, https://github.com/infor-design/enterprise/issues/6697 does seem a little like it, so just in case i just updated main so you can try against main branch..

Or latest stack blitz is https://stackblitz.com/edit/ids-quick-start-1411

Another idea is could it be if the names of the frozen columns or missing or anything wierd like that?

tmcconechy avatar Aug 19 '22 14:08 tmcconechy

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 13 '23 16:08 stale[bot]