You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

how to reset the ADP index without having to reload the page

Accepted answer
26
Views
2
Comments
edited Aug 5, 2022 10:18AM in Visual Builder 2 comments

we have an ADP which stores result data after some search and displays the data in a table.

In the table definition I use multiple selection mode (row).When running the search for the first time and selecting the first row in the table, the $variables.keys[$current.index] is set to 0, since the selected row is the first row in the table (index 0 in the ADP).

However, when performing another search, the value of the selected index ( $variables.keys[$current.index] ) is not resetted to 0 after the new search but accumulates the results of the old search as well as the new search.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!