PDA

View Full Version : [FNR] BufferView invalid cell rendering [2.2.4]



dimon
24 Oct 2011, 11:05 AM
com.extjs.gxt.ui.client.widget.grid.BufferedView (line 246)
Appending " x-grid3-invalid-cell" to buf instead of cell css destroys the grid layout.



protected String doRender(List<ColumnData> cs, List<ModelData> rows, int startRow, int colCount, boolean stripe,
boolean onlyBody) {

...

if (isShowInvalidCells() && r != null && !r.isValid(c.id)) {
buf.append(" x-grid3-invalid-cell");
}
if (isShowDirtyCells() && r != null && r.getChanges().containsKey(c.id)) {
css += " x-grid3-dirty-cell";
}

....

cb = new StringBuilder();
}
return buf.toString();
}

sven
24 Oct 2011, 7:02 PM
Fixed in SVN as of revision 2473