updateActionMap(uidl);
updateColumnProperties(uidl);
UIDL ac = uidl.getChildByTagName("-ac");
if (ac == null) {
if (dropHandler != null) {
// remove dropHandler if not present anymore
dropHandler = null;
}
} else {
if (dropHandler == null) {
dropHandler = new VScrollTableDropHandler();
}
dropHandler.updateAcceptRules(ac);
}
UIDL partialRowAdditions = uidl.getChildByTagName("prows");
UIDL partialRowUpdates = uidl.getChildByTagName("urows");
if (partialRowUpdates != null || partialRowAdditions != null) {
postponeSanityCheckForLastRendered = true;
// we may have pending cache row fetch, cancel it. See #2136
rowRequestHandler.cancel();
updateRowsInBody(partialRowUpdates);
addAndRemoveRows(partialRowAdditions);
// sanity check (in case the value has slipped beyond the total
// amount of rows)
scrollBody.setLastRendered(scrollBody.getLastRendered());
// recalculate max indent
int oldIndent = scrollBody.getMaxIndent();
scrollBody.calculateMaxIndent();
if (oldIndent != scrollBody.getMaxIndent()) {
// indent updated, headers might need adjusting
triggerLazyColumnAdjustment(true);
}
} else {
postponeSanityCheckForLastRendered = false;
UIDL rowData = uidl.getChildByTagName("rows");
if (rowData != null) {
// we may have pending cache row fetch, cancel it. See #2136
rowRequestHandler.cancel();
if (!recalcWidths && initializedAndAttached) {