Code:
grid.setData(testData); //forces editing as a rubber stamp in order to mark invalid values final int totalRows = grid.getTotalRows(); for (int rowNum = 0; rowNum < totalRows; rowNum++) { final ListGridField[] cols = grid.getFields(); for (int colNum = 0; colNum < cols.length; colNum++) { grid.startEditing(rowNum, colNum, true); } } grid.setCanEdit(canEdit);
Is there any reliable way to disable table editing only after it has been rendered?
Please note I had to embed my table into a GWT component, hence there could be some misbehavior due to mixing the two libraries.
Leave a comment: