Hi Personas 2.0 experts,
Assume that I run a tocde to get a table below shown on UI. Please be aware that the number of rows are not fixed, so there could be more or less rows added/removed in the table from time to time depending on the backend actions.
Type Id Text
A 2 Note-A
B 4 Note-B
C 1 Note-C
Here are what I want to do:
Case: Press a button, I want to see the row content of a given Type (eg C): ie "C 1 Note-C"
Solution proposal:
I can first find the row index (I have no problem for this, in this example, it will be 3), then use "Scroll Vertically" action for the table object to move the "highlight" to the given row in the table, ie row 3.
Problem: how can I scroll the highlight to a given row using JS in a script button?
Thanks very much in advance!
Dong Zhu