Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
setColumns() doesn't refresh the dialog.
04/12/2009
10:27
Avatar
Priyank
Guest
Guests

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...

05/12/2009
15:25
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

07/12/2009
10:39
Avatar
Priyank
Guest
Guests

Thanks Tony.

08/12/2009
10:41
Avatar
Priyank
Guest
Guests

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.

08/12/2009
18:31
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

10/12/2009
08:52
Avatar
Priyank
Guest
Guests

Thanks Tony.

Anyways i have already modified the plugin for setColumns()   and it is working fine for me.

Thanks for the help during our post disscussion.

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information