Categories | Question details Back To List | ||
Grid Hi, How to get the attributes of the xml file xml.instruct! xml.rows :pos=>"#{params[:posStart]}",:total_count=>@order_count do end how to get the pos and total_count attributes is there any way to get this? Answer posted by Support on Nov 28, 2008 05:33 Do you need a way to get such attribute on client side , after xml loading? grid.attachEvent("onXLE",function(){ //called after data loading var top=grid.xmlLoader.doXPath("//rows)[0]; var pos = top.getAttribute("pos"); var coun = top.getAttribute("total_count"); }) |