Dear visitor, despite all the challenges, our team continues operating at full speed.

We are ready to help with any questions you may have. Please fill out this quick form and we'll get back to you.

Fill the form
Get Free Trial

Set fields information using API

Daniel Rutledge asked on March 15, 2019

I noticed there are methods to retrieve the field information for the Flexmonster object (getColumns, getRows, etc), but there isn’t a setColumns method, like there is setOptions or setSort. Is the only way to achieve this by manipulating the report object programmatically?
This is potentially useful if the user would like to manipulate the table into a certain state, and then our application restores it later with the same field layout.

2 answers

Tanya Gryshko Flexmonster March 15, 2019

Hello, Daniel,
Thank you for contacting us.

For your case, we suggest using runQuery or setReport API calls.

Please let us know if it works for you.

Daniel Rutledge March 15, 2019

runQuery was exactly what I was looking for; I can retrieve the data, and then use runQuery to restore the user’s previous state.

This question is now closed