hello, sorry for my newbie question, i’m trying to use jgrid with row details, but in the example (demo), the data source is using array, can someone tell me how to change it into json? i’m trying using json but it can’t.
in demo (example), data source is from array :
var data = new Array();
var firstNames = ["Nancy", "Andrew", "Janet", "Margaret", "Steven", "Michael", "Robert", "Laura", "Anne"];
i’d like to using json like the other example :
var source = { datatype: "json", datafields: [ { name: 'LastName'}, { name: 'FirstName'}, { name: 'Title'}, { name: 'Address'}, { name: 'City'} ], url: 'grid_data.php',
i’m sorry for my newbie question 
best regards,
gtliu