Skip to main content
4-Participant
Dec 7, 2023 8:34 PM UTC
Solved

Grid Configuration

I'm currently binding a grid configuration from a service to the Advanced Grid. Everything works fine - except I can no longer see the binding to get the EditedTable. 

 

Please let me know how this can be done?

 

Using version 9.3.4

Rocko
RockoAnswer
19-Tanzanite
Dec 19, 2023 6:08 PM UTC

It worked for me with the AdvancedGridSampleFiles with GetEmployeeConfiguration and GetEmployeeData after adding

"cellEditingEnabled": true,
"editButtons": { "enabled": true,"location": "top-right", "enableAddDeleteButtons":true},

 

and then

"cellEditor": {"enabled": true } for each editable column  (as documented here)

to the configuration.

Before binding the Configuration I bound EditCompleted and EditedTable to a service.Clipboard01.png

9 replies

Rocko
19-Tanzanite
Dec 12, 2023 2:51 PM UTC

Not sure what's in your "Configuration" field, maybe an error there. Have you clicked the "IsEditable" checkbox? This should be there as well. Maybe add a fresh Grid Advanced to test. Or even better, move ahead to "Grid" widget instead, as Grid Advanced is legacy.

Translate
4-Participant
Dec 12, 2023 6:29 PM UTC

The isEditable is all in the configuration of the grid. Once I bind the configuration, the other properties are no longer visible to be bound. The new grids have features that are missing from the old grid and at this time we're forced to use the legacy advanced grid.  

 

Translate
Rocko
19-Tanzanite
Dec 14, 2023 7:51 AM UTC

You will have to decide if you want to configure the widget either via service and the Configuration field or using direct binds.

In the first case, your configuration JSON will have to include the isEditable property with a true/false value to set it, plus the column configurations to set which columns are editable.

A sample of a JSON is given here: https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/AdvancedGridsSamplesFile.html#

Translate