Skip to main content
4-Participant
December 7, 2023
Solved

Grid Configuration

  • December 7, 2023
  • 1 reply
  • 3586 views

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

Best answer by Rocko

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

1 reply

Rocko
19-Tanzanite
December 12, 2023

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.

4-Participant
December 12, 2023

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.  

 

Rocko
19-Tanzanite
December 14, 2023

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#