I want to retrieve the data of the Current List Page, especially the Current Table, in the JavaScript (Startup Client) section for specific purposes, such as drawing a custom chart. One way is to read the current page data on the server side and store it in variable with "SetClientVar", then read it in the client-side (JavaScript). My questions are:
-
On the server side, in which function should I read the data? For example "pageLoad()" or " recordsetSelected($rs)" or another function?
-
Which function should I use to read the Current page and table data?
-
Instead of this method (storing data on the server and reading it on the client), is there a better approach?" for example phpmaker's client-side function ?