Index problem in loop

I am facing a problem accessing an array with an index.
data[index] is not working same as data[0]

I searched about it and got to know that it is a bug.
The workaround suggested was $[index] but it is not working.


Hey @waqass! index isn't defined anywhere in Retool. In a few components, like the Table or List View, it does give access to the i variable, which allows you to use that dynamic index value.

What are you trying to accomplish here? Something like this, perhaps?