Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid state shows not valid width for columns in locked region #5625

Open
chuckn0rris opened this issue Nov 21, 2022 · 0 comments
Open

Grid state shows not valid width for columns in locked region #5625

chuckn0rris opened this issue Nov 21, 2022 · 0 comments
Labels
bug Something isn't working forum Issues from forum OEM OEM customer premium

Comments

@chuckn0rris
Copy link

In lockedcolumnstree example add

    subGridConfigs: {
        locked : {
            minWidth : 800
        }
    },

Open examples and resize first and second columns (from 3 in locked region), make them small.

Run in console grid.state. See that total widths of these 3 are not equal to region size - 800px. Not resized column has initial width value, but in fact it's wider.

Forum post

Setting a minimum width on a region can result in an inaccurate column state after resizing columns. For example on the "Tree with locked Columns" demo setting a minimum width of the "locked" region to 800px and reducing column sizes in this region results in an inaccurate grid state . Outputting the grid state to console shows that the columns widths do not add up to 800px with the final column in the region having a width less than what is visible in the grid.

Would it be possible to have this resolved, thank-you.

Console log output

Columns visible in grid
Console log output
Columns visible in grid

@chuckn0rris chuckn0rris added bug Something isn't working premium forum Issues from forum OEM OEM customer labels Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum OEM OEM customer premium
Projects
None yet
Development

No branches or pull requests

1 participant