Versions Compared

Key

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

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=tbngDeleteRows+-+15482948
widthauto

Syntax

tbngDeleteRows(tableGridNGFieldName, stringArray)

Description

This routine function deletes rows from a Table Grid Next Generation custom field.

...

Code Block
struct TbGridAssignee {
    string key;
}
 
struct MyGridFieldRow {
    string jsummary;
    TbGridAssignee jassignee;
    string jstatus;
    string jseq;
}
 
struct MyGridField {
    string rowId;
    MyGridFieldRow columns;
}
 
MyGridField[] myGridField = fromJson(tbngGetRows("My Grid Field"));
string[] deletes;
 
for (MyGridField row in myGridField) {
    addElement(deletes, row.rowId);
}
 
tbngDeleteRows(key, "My Grid Field", deletes);

...