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

[16.0] web_widget_x2many_2d_matrix: not showing all columns #2630

Open
Bart-dh opened this issue Sep 28, 2023 · 4 comments
Open

[16.0] web_widget_x2many_2d_matrix: not showing all columns #2630

Bart-dh opened this issue Sep 28, 2023 · 4 comments
Labels

Comments

@Bart-dh
Copy link

Bart-dh commented Sep 28, 2023

Module

web_widget_x2many_2d_matrix

Describe the bug

When displaying a field with a lot of data, not all columns are show.
For example: I have a one2many field with 210 lines.
There should be 10 rows and 21 columns, but only 4 columns are displayed.

To Reproduce

Affected versions:
16.0

Steps to reproduce the behavior:

  1. Create one2many field
  2. Add enough data
  3. Display one2many field with widget x2many_2d_matrix

Expected behavior
All columns should be shown.
All rows are currently shown with a scrollbar, columns should have a horizontal scrollbar. This used to work in 14.0

Additional context
/

@Bart-dh Bart-dh added the bug label Sep 28, 2023
@Bart-dh
Copy link
Author

Bart-dh commented Sep 28, 2023

@tarteo you migrated this to 16.0, perhaps you could look into this?

@therbin200
Copy link

To precise this point, the list is limited to 40 records at start of the component.

The earliest datas we get is in getList() with this.props. If we log this.props.value.records, we see that this list is limited to 40 records, and doesn't matter how many records we have in the field passed in the template.

@hildickethan
Copy link
Member

hildickethan commented Nov 9, 2023

You can change the 40 limit with this parameter <tree limit="999999">, we have some crazy limit like this to cover very big tables. Our biggest table is 34x244 and it shows every value with vertical and horizontal scrollbars

@Bart-dh
Copy link
Author

Bart-dh commented Nov 9, 2023

You can change the 40 limit with this parameter <tree limit="999999">, we have some crazy limit like this to cover very big tables. Our biggest table is 34x244 and it shows every value with vertical and horizontal scrollbars

Thanks for the tip!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants