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_Related Related Topics sp_TopicIcon
ReloadAfterSubmit stopped working with 4.0
11/04/2011
23:00
Avatar
ReneC
Germany
New Member
Members
Forum Posts: 2
Member Since:
11/04/2011
sp_UserOfflineSmall Offline

Hi everyone,

I just switched from jQGrid v3.8.2 to v4.0 and had to see that the option "reloadAfterSubmit" seems to stopped working.

I didn't modify my source code at all during the upgrade.

I also set the option to true, even though it should default to true.

Here's my code:

    var categoryTable = $('#categoryTable');

    categoryTable.jqGrid({
        colNames : ['ID', 'Name'],
        colModel : [
                   {name:'ID', index:'ID', hidden:true},
                   {name:'Name', index:'Name', sortable:false, editable:true, editoptions:{size:30, maxlength:50}}
                   ],
        datatype : 'json',
        editurl : baseUrl + 'admin/category/grid',
        emptyrecords: true,
        loadComplete : function(response) {
            if (true === handleJsonResponse(response)) { //own function to parse JSON response
                categoryTable.clearGridData();
                $.each(response.content, function(index, responseElement) {
                    categoryTable.addRowData(index, responseElement);
                });
            }
        },
        mtype : 'POST',
        pager : 'categoryPager',
        pgbuttons : false,
        pginput : false,
        resize : false,
        url : baseUrl + 'admin/category/load',
        viewrecords: true,
        width : 700
    }).navGrid('#categoryPager',
            {refresh: false, search: false},
            {afterSubmit: handleXhrResponse}, //own function, just ignore this one
            {afterSubmit: handleXhrResponse}, //own function, just ignore this one
            {afterSubmit: handleXhrResponse}, //own function, just ignore this one
            {}
    );

May you take a look at this?

Thanks in advance!

Greeting,

Rene

12/04/2011
20:00
Avatar
ReneC
Germany
New Member
Members
Forum Posts: 2
Member Since:
11/04/2011
sp_UserOfflineSmall Offline

Hi again,

D'oh, I really thought I checked everything before opening a thread here.

Unfortunately, I didn't.

Not a bug over here, just my unattention.

You may delete this topic.

Greetings,

Rene

01/10/2011
20:51
Avatar
paulbhartzog
Member
Members
Forum Posts: 5
Member Since:
01/10/2011
sp_UserOfflineSmall Offline

uh, what was the fix?

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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