After a user has entered a value into a cell in a listgrid I want to lookup information related to that field and prefill cells on that row of the grid. I have tried getting the record and modifying that but it doesn't update the visual display of the cell until you leave the row. So what is the correct method to dynamically edit cells?
Code:
ListGridField pnumField = new ListGridField("pnum","Policy Number",90); pnumField.addEditorExitHandler(new EditorExitHandler() { public void onEditorExit(EditorExitEvent event) { ListGridRecord record = filingGrid.getRecord(0); //0 during test record.setAttribute("transDate", "xxx"); //try updating another cell } });
Comment