I have a list grid , one of whose column contains numeric value.
I want to add all the values present in this column, and display it in a text box which present after the grid.
Also how can i remove a row from the grid?
I know how to drag it out but dont know how to remove it.
Given a ListGrid called “listGrid”, a numeric property “count” and a DynamicForm called “theForm” with a text field named “theField”:
theForm.setValue("theField", listGrid.data.getProperty("count").sum());
To remove a row from a grid that does not have a DataSource, given it’s row number as “rowNum”:
listGrid.data.removeAt(rowNum);