gets the id of the column specified by index
//get id of the first column var colId=myTreeGrid.getColumnId(0);