empty result set when removing textFilter in datatable with data binding

Hi,

I have two datatables A and B. B has binding to A, so when selecting a row in A, the rows in B are filtered. When writing a filter text into a column textFilter in B, the resulting rows are further filtered.

When removing the filter text of column filterText, the result set in B is empty now, instead of showing the rows according to binding with A.

After reloading data in B, the binding and filtering works again.

The behaviour was OK until Webix 3.1, but in 3.2 and 3.3 I am having this problem.

Thank you and bye,
Peter

can’t provide a demo yet, because on your system I get all rows of B after removing a textFilter, so binding filter is not filtering anymore.

http://webix.com/snippet/8e4f7e15

in my system I am using serverFilter with dynamic loading from sql db

Hi,

In such case, the client-side filtering will be discarded, as shown in your snippet.

But according to inner logic, binding with the server-side filtering should work as you need. We’ve tried to reproduce the issue, but seems like all works well:

http://webix.com/snippet/c572355b

Hi, thanks for your fast reply. I am still trying to find out what’s going on. Maybe it is somehow related to datafetch.

It seems that only limited number of rows (50?) are checked for binding condition after removing the text filter. adding datafetch with with e.g. 1000 delivers more results.

Hi again,

The issue is related to the data loading, but as far as I can see, the dataFetch property has nothing to do with it. Please try to use the dataFeed property for data loading.