Forum

July 12th, 2025
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
Export Grid / Set Columns
27/09/2009
08:15
Avatar
Larry D
Larry D
Member
Members
Forum Posts: 30
Member Since:
16/09/2008
sp_UserOfflineSmall Offline

I select columns on the grid and then save the settings. If I go back and select columns again I get an undefined error.

1. Click the Select Columns icon and Choose columns and press Submit. This changes the grid as required.

2. Click on a Save Settings link which calls this:

    jQuery("#savegridconf").click(function() {
        $.post("/ajax/save_form_settings.php", {data: $("#test").jqGridExport({exptype:"jsonstring"})});
    });

It works great - settings are saved and can be retrieved later.

3. I want to change columns again and so click Select Columns and make changes.

4. When I submit this time I get:

j.p.colModel[i].name is undefined

I don't know if this a bug or a problem with my code.

29/09/2009
11:46
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

To be a honest I do not know too. Check your code again. How look your grid configuration?

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 994

Currently Online:
26 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