Hi,
I'm doing the tutorial at:
http://sigmawidgets.com/forum/ajax-data-grid-view/sigma-grid-2-1-tutorial-1-get-started/In the second codebox of the tutorial, about 1/4 of the way down the page, there is some javascript that reads:
var data1 = [
[serialNo:"010-0",country:"MA",employee:"Jerry",customer:"Keith",order2005:50,order2006:57,order2007:80,order2008:46,lastDate:"2008-10-02"],
[serialNo:"010-1",country:"SP",employee:"Charles",customer:"Marks",order2005:79,order2006:37,order2007:40,order2008:90,lastDate:"2008-04-24"],
[serialNo:"010-2",country:"SP",employee:"Vincent",customer:"Harrison",order2005:91,order2006:75,order2007:31,order2008:40,lastDate:"2008-02-17"],
[serialNo:"020-3",country:"RA",employee:"Edward",customer:"Sidney",order2005:61,order2006:31,order2007:80,order2008:47,lastDate:"2008-10-16"]
];
I don't know javascript, so I'm not entirely sure, but I don't think this is valid javascript. Certainly when I reach the end of the tutorial, my grid will not display unless I replace it with:
var data1 = [ {serialNo:"010-0",country:"MA",employee:"Jerry",customer:"Keith",order2005:50,order2006:57,order2007:80,order2008:46,lastDate:"2008-10-02"}, {serialNo:"010-1",country:"SP",employee:"Charles",customer:"Marks",order2005:79,order2006:37,order2007:40,order2008:90,lastDate:"2008-04-24"}, {serialNo:"010-2",country:"SP",employee:"Vincent",customer:"Harrison",order2005:91,order2006:75,order2007:31,order2008:40,lastDate:"2008-02-17"}, {serialNo:"020-3",country:"RA",employee:"Edward",customer:"Sidney",order2005:61,order2006:31,order2007:80,order2008:47,lastDate:"2008-10-16"}
];
i.e. the innermost dictionary like objects need '{}' braces, not '[]' ones.
This code appears correctly at the bottom of the tutorial, but not at the top.
Thanks,
Jonathan