Forum


10:27

If i use same grid for multiple functionality then all the time my grid columns are getting changed according to conditions but once setColumns() is called it will not update as per columns of grid.it displays the old column names to hide/show and when columns not found giving errror thats obious...
15:25

Moderators
30/10/2007

Hello,
This is true.Will try to fix this using recreateForm flag.
Also you can use another usefull method columnChooser - which will do what you want.
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
10:41

Hi Tony,
Is there any way so that i can use setColumns() to get my desired result.
Because i dnt wana use ColumnChooser because it is with latest version of Jqgrid and i am using olderversion and while just downloading grid.jqueryui.js file and including it in loader file it is not supporting to call column chooser .
So please suggest me a way to use setColumns() and refresh it while grid is loaded.
18:31

Moderators
30/10/2007

Hello,
The new fix will be always to the last version and to previous one.
You can get idea from editRow - here we check if the form is already created and if it is and recreateForm is true - just remove the element form and continue with new creation.
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
62 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66