All
I have the following code where I insert data into a ListGrid
Now when I want to remove an entry as an update has come from the server, what is the correct way?
Do I create a new ListGridRecord and then call getListGrid.removeData(record)?
Or should I search the grid for the record like
Thank you
I have the following code where I insert data into a ListGrid
Code:
this.display.getListGrid().addData(record);
Do I create a new ListGridRecord and then call getListGrid.removeData(record)?
Or should I search the grid for the record like
Code:
DataRecord record = (DataRecord)this.display.getListGrid().getRecordList().find(DataRecord.GRID_ID, Id); this call getListGrid().removeData(record);
Comment