Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
struct TbGridAssignee {
    string key;
}
 
struct MyGridFieldRow {
    string jsummary;
    TbGridAssignee jassignee;
    string jstatus;
    string jseq;
}
 
struct MyGridField {
    string rowId;
    MyGridFieldRow columns;
}
 
struct UpdateRow {
    string jsummary;
}
 
 
MyGridField[] myGridField = fromJson(tbngGetRows("My Grid Field"));
string[] updates;
UpdateRow tempRow;
tempRow.jsummary = "my new summary";
for (MyGridField row in myGridField) {
    updates[row.rowId] = toJson(tempRow);
}
 
tbngUpdateRows(key, "My Grid Field", updates);
We've encountered an issue exporting this macro. Please try exporting this page again later.