[bug] table Default Indexes does not update

i want to auto-select all rows in a table by default.

what i tried:

  1. use "all" option for table data query onSuccess handler

even with an event handler delay of 5000ms on the query, it doesn't seem to do anything.

  1. use Default Indexes to craft an array of same length as data rows

this works until the table data changes. you can see in the screenshot below, the table data is of length 2, but the evaluation of the FX for Default Index shows an array of length 1:

i was going too fast. self.data isn't an array, and my code doesn't work.

this works!

2 Likes