onDataChange does not fire when filter is empty

Борис Стрельчик shared this problem 2 years ago
Known

In onClick event I've filtered datamaster with some conditions.


When filter return some items onDataChange fires and everything is ok.

But when filter return nothing onDataChange does not fire.

Comments (1)

photo
1

Hi there,


The OnDataChange it's an event that needs to be inserted inside a row however when the filter generates 0 results and there are no rows, the events won't be executed. Try inserting the event in the header row and it should work properly.


Best,


Sonia Durán