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 Issues wrong row count wrong data #174

Closed
noubar opened this issue Mar 22, 2024 · 0 comments · Fixed by #176
Closed

Grid Issues wrong row count wrong data #174

noubar opened this issue Mar 22, 2024 · 0 comments · Fixed by #176

Comments

@noubar
Copy link
Contributor

noubar commented Mar 22, 2024

WPF grid with scroll has caching system is controlled by VirtualizingStackPanel.IsVirtualizing property
If it is set to true, "Get all data from grid" and "Get grid rows count" deliver only the visiable items and count of visible items.

get grid rows count can be easily fixed by changing
Rows.Length to RowCount in
https://github.com/GDATASoftwareAG/robotframework-flaui/blob/main/src/FlaUILibrary/flaui/module/grid.py#L87C56-L87C78

similar issue: https://stackoverflow.com/questions/25084114/how-to-get-all-rows-from-a-wpf-datagrid-with-scroll

@noubar noubar changed the title Grid Issues Grid Issues wrong row count Mar 22, 2024
noubar added a commit that referenced this issue Mar 22, 2024
@noubar noubar changed the title Grid Issues wrong row count Grid Issues wrong row count wrong data Mar 22, 2024
@noubar noubar linked a pull request Mar 22, 2024 that will close this issue
Nepitwin pushed a commit that referenced this issue Mar 23, 2024
Nepitwin pushed a commit that referenced this issue Mar 24, 2024
Nepitwin pushed a commit that referenced this issue Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant