Upvote 1

Filtered Datalist ignores events on following rows

Solved javier 8 years ago

Hi,


I have a problem with Datalists:

If I add an event (triggered on variable change) to the data list, like changing background color to red if input_1 equals 10, it works perfectly on each row.

But when I filter the datalist , when the event is executed, this time it seems it evaluates only the first filtered row, and it will apply the result identically on all the following rows. So, for example, if input_1 on first row is 10, then all the filtered datalist will have the rows with the background changed to red.

Do you have a solution for this?

Thanks,

Javier

Replies (2)
photo
1

SOLVED


the problem was that both filtering and changing style events were triggered by the same variable change.

The solution was to make filtering be triggered by variableA change, and on the same event add an action that changes value of variableB.

Then the styling event is to be triggered by variableB


Thanks

And congratulations; it is a great app you have

photo
1

Hi Javier,


We're glad to hear you solved your problem! Feel free to contact us again if you have any more questions or concerns.


Best,

Danielle

Leave a Comment
 
Attach a file