You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a table, resize a column - sidescrolling activates, and select in "Unit Price" e.g. "less than"
Changing the operator, without having any filter value triggers the filter, the result is empty and the scrollbar disapears. The user cant even reset oder change the filter in this case.
Expected behavior
We have 2 Issues.
filtering should not trigger if there is no value.
even in a table without rows, only displaying the table header, scrolling has to be possible
Environment
Package versions: 1
Browser: Firefox
The text was updated successfully, but these errors were encountered:
jannhofman
changed the title
Filterrow - selecting operator triggers filtering & makes wide tables unusable
Grid - Filterrow - selecting operator triggers filtering & makes wide tables unusable
May 29, 2018
Changing the operator triggers filter always for some reasons:
Some operators works without value: isNull, isNotNull, isEmpty etc.
The programmer could handle the filter event and decide if he wants to process the new filters or not. Modify the value automatically or to ignore them. Thus the coder have full control.
Empty input is still a value for the string columns.
You could could always set back the filter prop to the grid, without new data prop.
If we fire events conditionally
The second one is real issue. We will fix it by adding ensuring the width of the data container is set even if there is no data to match the header.
We have added empty message, localizated by default, and can be further customized with custom components using the inside the Grid. It is spanned thru the whole body of the grid, so the scroll will not disappear anymore after filtering returns empty data.
Will be available shortly in next uploaded dev version.
I'm submitting a...
Current behavior
Create a table, resize a column - sidescrolling activates, and select in "Unit Price" e.g. "less than"
Changing the operator, without having any filter value triggers the filter, the result is empty and the scrollbar disapears. The user cant even reset oder change the filter in this case.
Expected behavior
We have 2 Issues.
Environment
Package versions: 1
Browser: Firefox
The text was updated successfully, but these errors were encountered: