[jQuery] Re: jqGrid Metadata

2008-12-12 Thread CarmelFrank
Sanjiv, It has been a few months since you made this post, but I have come up with a method to create the colNames and colModel dynamically. Here's an example of how to do it in JavaScript: var NameList = new Array(); NameList.push("'Id'"); NameList.push("'Name'"); NameList.pus

[jQuery] Re: jqGrid Metadata

2008-05-10 Thread Sanjiv
Hi Tony, Thanks a lot for your reply. >. make you own > request - grab the needed data for the colModel and colNames and after > success construct the grid. Of course this is not applicable if every > request contain different models. But, that is what is needed in my current project. >Th

[jQuery] Re: jqGrid Metadata

2008-05-10 Thread Tony
Sanjiv, Currently this is not possible, but you can implement the trick to parse the data before constructing the grid - i.e. make you own request - grab the needed data for the colModel and colNames and after success construct the grid. Of course this is not applicable if every request contain d