Component Table - imona/tutorial GitHub Wiki
- addTableItem(item)
- deleteSelectedItem()
- focus()
- height
- multiSelect
- readOnly
- refreshCurrentTable()
- remove()
- removeAll()
- removeColoumn("fieldName")
- required
- selectedItem
- value
- visible
- width
How to refresh the content of a transient table
getComponent("IMONA_TRANSIENT_TABLE1").removeAll();
var data = query("from filters where isdeleted = false");
foreach(item:data){
getComponent("IMONA_TRANSIENT_TABLE1").addTableItem(item);
}
How to delete an entity item from a transient table
var item = getComponent("IMONA_TRANSIENT_TABLE1").selectedItem;
entityUtils().deleteItem(item);