Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Trey Jarnagin on Nov 04, 2008 05:51
open dhtmlx forum
smartrender

Can I use load(querystring,json) with smartrendering? In otherwords is smartrendering only XML as in loadXML(queryString)?

THX!
Answer posted by Support on Nov 04, 2008 06:55
Starting from dhtmlxgrid 1.6 you can use smart rendering with json datasource ( in both static and dynamic mode ) , just use 
    grid.load(url,"json");

Same as for XML, you need to provide pos and total_count attributes 

{
pos:0,
total_count:40000,
rows:[
  { id:1001, 


Answer posted on Nov 04, 2008 07:25
SWEET, thx!