Closed jverducci closed 7 years ago
In the section for marking a table row as unselectable (http://ui.tradeshift.com/#components/table/selecting.html), it shows the following:
table.rows([ {cells: ['A', 'D', 'G']}, {cells: ['B', 'E', 'H'], selectable: false}, {cells: ['C', 'F', 'I']}, ]);
This does not work because in the code, it is actually expecting for the cells:
cells: [ { text: "stuff", value: “stuff" }, ...]
Duplicate of https://github.com/Tradeshift/Client-Runtime/issues/592, which is now closed. Issue was resolved by wrapping the code in ts.ui.ready(function() { thecode() }); to allow for initialization.
ts.ui.ready(function() { thecode() });
In the section for marking a table row as unselectable (http://ui.tradeshift.com/#components/table/selecting.html), it shows the following:
table.rows([ {cells: ['A', 'D', 'G']}, {cells: ['B', 'E', 'H'], selectable: false}, {cells: ['C', 'F', 'I']}, ]);
This does not work because in the code, it is actually expecting for the cells:
cells: [ { text: "stuff", value: “stuff" }, ...]