how to reset selected rows in grid-Advanced widget via JSON Configuration
Hi,
I am using "gridAdvaced" widget in Thingworx (9.0) Mashup.
The grid configuration is written in one service.
In the service JSON is created with following code to clear the selection of grid :
"columns":{
.
.
.
},
"rows":
{
"selection":"multi",
"defaultSelectedRows":(NoOfRecords+1).toString(),
"autoScroll":false
},
"styles":{
.
.
.
}
I want the selected rows to get disselected whenever I change the page/ or data in the grid is changed.
The service is triggered on grid view button and page change event.
But if I select any row in the grid and then change the page or click the view button again (to trigger the configuration service), the selected row remain selected even if the data in the grid is changed.
Please suggest a workable solution ASAP.
Thank you in advance.

