Hi,
I am trying to customize jqgrid into my project. What I wish to accomplish here is to define the grid the following way:
………………………
colModel: getColNames('<%= ViewData["myColsNames"] %>'),
colModel: getColModel(”'<%= ViewData["myColsNames"] %>'”),
……………………….
where the getColNames will return an array of strings with the column names that I saved in the view data and the getColModels returns similar array of strings in the format of
{name: 'act', index: 'act', width: 75, sortable: false },
…
When calling the colNames alone
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top