refreshingTable = true;
if (selectedNodes == null) {
selectedNodes = getNodesFromSelectedRows();
}
NodeTreeModel nodeTreeModel = new NodeTreeModel(graph.wrapToTreeNode());
final OutlineModel mdl = DefaultOutlineModel.createOutlineModel(nodeTreeModel, new NodeRowModel(cols), true);
outlineTable.setRootVisible(false);
outlineTable.setRenderDataProvider(new NodeRenderer());
outlineTable.setModel(mdl);
NodeDataTable.this.dataTablesModel = dataTablesModel;
setNodesSelection(selectedNodes);//Keep row selection before refreshing.