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.
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.
Replies have been locked on this page!