| jquery Programming Glossary: div.treeclickjqGrid treeGrid catch expand collaps events http://stackoverflow.com/questions/9178682/jqgrid-treegrid-catch-expand-collaps-events  So I want to catch expand and collaps event. I couldn't find it in manual So I've resolved it in this way grid.find div.treeclick .bind click function e classes this .attr 'class' returns ui icon treeclick ui icon triangle 1 s tree minus ui icon treeclick.. 
 jqgrid treegrid custom css-class for each tree-level http://stackoverflow.com/questions/9480708/jqgrid-treegrid-custom-css-class-for-each-tree-level  i l data.length 0 for i 0 i l i  item data i if item.isLeaf item.level 0 item.level 0  if item.expanded  # item.id div.treeclick  .removeClass ui icon triangle 1 s  .addClass ui icon carat 1 s  else  # item.id div.treeclick  .removeClass ui icon triangle..  # item.id div.treeclick  .removeClass ui icon triangle 1 s  .addClass ui icon carat 1 s  else  # item.id div.treeclick  .removeClass ui icon triangle 1 e  .addClass ui icon carat 1 e    .jgrid.extend expandNode function rc var ret orgExpandNode.call..  .jgrid.extend expandNode function rc var ret orgExpandNode.call this rc if rc.isLeaf rc.level 0 rc.level 0  # rc._id_ div.treeclick  .removeClass ui icon triangle 1 s ui icon carat 1 e  .addClass ui icon carat 1 s  return ret collapseNode function rc var.. 
 |