private static TreeNode createNode(NodeModelTreeLoader treeLoader, String[] coldata,NodeModel nodeModel, boolean asyncNode){
TreeNode tnode = null;
if(coldata != null){
NameValuePair nodeData[] = new NameValuePair[coldata.length];
for (int i = 0; i < coldata.length; i++) {
String value = nodeModel.getProperty(coldata[i]);
if(value != null)
nodeData[i] = new NameValuePair(coldata[i], value);
else
nodeData[i] = new NameValuePair(coldata[i], "");
}
if(asyncNode){
AsyncTreeNode asyncTreeNode = ColumnNodeUI.getNewAsyncTreeNode(nodeData);
asyncTreeNode.setLoader(treeLoader);