How to clean several filters with fewer steps


Hi WebDataRocks Team,
As attach, I have several filtered filters, how can I clean them all at a time?
And the second question is how can I adjust the first two rows width to a fixed value by CSS?  

3 answers

WebDataRocks Team WebDataRocks November 6, 2019

Hello, Jacinth,
Thank you for your question.
You can simply clean the desired filters using the following method:


Get desired fields using webdatarocks.getAllHierarchies, webdatarocks.getRows or webdatarocks.getColumns methods.
Adjusting the row’s height can be simply implemented with the tableSizes object which is the property of a report object. In your case we kindly recommend use the following instruction:

  1. Create tableSizes object inside your report object.

  2. Inside your tableSizes object create an array named columns.

  3. Inside the columns array place object with following properties:

    idx – Number. Index of the row, starts from 0.

    width – Number. Row height in pixels.

You can also use a tuple property of the tableSizes object represented as an array. It consists of unique names that identifies the row in the table based on data in it.
The same procedure can be made on rows, but only row’s height can be modified.
Find out an example demonstrating the resolution for both your questions by following the link:
Feel free to contact us in case of questions occurs.
Kind regards,
WebDataRocks Team

Jacinth November 7, 2019

Hi WRD teams,
thanks for the reply, I adjust the column width and save as “report.json” then I knew and learned how to use those properties.
But how can I change writing-mode (from horizontal to vertical) of the content in column without use CSS?

WebDataRocks Team WebDataRocks November 7, 2019

Hello, Jacinth,
Unfortunately, the current version does not implement the feature of the vertical content orientation.
Kind regards, 
WebDataRocks team