Skip to main content
16-Pearl
Question

How to save selected columns of Grid in UI.

On right clicking column heading in grid, we can deselect certain columns. We expecting the selected columns to be save until it is changing manually in UUser Interface. But Once I reloaded the page, the grid columns are resetting back and displaying all columns. 

How to save selected columns of Grid in UI.?

4 replies

19-Tanzanite

Hi @AP_10343008 

 

Could you please tell Thingworx version and which grid (New Grid - 9.4, Grid, Advance Grid) used mashup?

 

Also if possible post some screenshot

 

/VR

Translate
16-Pearl

Thingworx version is ThingWorx 9.1.0-b10877

Widget - gridadvanced


If I unchecked columns names in grid, on refreshing page the changes should remain same.

AP_10343008_0-1697448787113.png

 

Translate
19-Tanzanite

Hi @AP_10343008 

 

Unfortunately, this cannot be achieved because you won't get selected/unselected columns as output in runtime.

 

But you can make use of configuration JSON to unhide/hide columns based on user/user selection.

 

For example :

In this example based on the selected type, grid columns will vary

Velkumar_0-1697458459353.png

 

Velkumar_1-1697458523227.png

 

You can achieve something like this

 

More about Grid Configuration JSON - Configuring the Grid using JSON Data (ptc.com)

 

/VR

 

 

/VR

Translate