Well, I am looking forward to retrieve the data model dynamically as we do with the data.
Is there any way to do it?[/quote]
I'm pretty certain that you can. I'm sort of new to jQuery though. In traditional javascript I would open an ajax request to the page, store the responseText in a strnig variable. And set your colModel using an eval. Not sure how to mix traditional javascript variables with jQuery quite yet.