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
Grid summary footer problems
17/06/2009
10:43
Avatar
jmcleod3
Member
Members
Forum Posts: 33
Member Since:
04/05/2009
sp_UserOfflineSmall Offline

Hello all,

I'm having problem implementing the "summary footer" to my grid.

Javascript

var lastsel;

$(document).ready(function(){
    jQuery("#list").jqGrid({
        scrollrows : true,
        url:'_getGridApplicationData.php?nd='+new Date().getTime(),
        datatype: "json",
        colNames:['App. ID','User ID','Created Date','Project Title','Total Amt.<br>Requested','Letter<br>of Intent','LOI Approved', 'Proposal<br>Attached'],
        colModel:[
            {name:'applicationId',index:'applicationId', width:50, align:"center"},
            {name:'userId',index:'userId', width:100},
            {name:'createdDate',index:'createdDate', width:90},
            {
                name:'projectTitle',
                index:'projectTitle',
                width:180,
                align:"left",
                formatter: 'showlink',
                formatoptions:
                {
                    target:"_new",
                    baseLinkUrl:'applicationInformationForm.php',
                    addParam:'&action=view'
                }
            },
            {name:'totalAmountRequested',index:'totalAmountRequested', width:90, align:"right", formatter:'number' },
            {
                name:'loiAttached',
                index:'loiAttached',
                align:"center",
                width:80,
                formatter: 'showlink',
                formatoptions:
                {
                    target:"_new",
                    baseLinkUrl: 'viewAppFile.php',
                    addParam:'&f=loi'
                }
            },
            {
                name:'loiApproved',
                index:'loiApproved',
                align:"center",
                width:90,
                editable:true,
                edittype:"checkbox",
                editoptions:{value:"Yes:No"}
            },
            {
                name:'fileAttached',
                index:'fileAttached',
                align:"center",
                width:80,
                formatter: 'showlink',
                formatoptions:
                {
                    target:"_new",
                    baseLinkUrl:'viewAppFile.php',
                    addParam:'&f=prop'
                }
            }
        ],
       
        editurl:"_editAdminGrid.php",
        pager: jQuery('#pager'),
        rowNum:10,
        rowList:[10,20,30],
        imgpath:'images',
        sortname: 'applicationId',
        viewrecords: true,
        sortorder: "asc",
        height:300,
        //cellediting:true,
        footerrow:true,
        userDataOnFooter:true,
        caption: "Grant Applications"
       
    }).navGrid('#pager', { edit:false, add:false, del:false},{height:200, reloadAfterSubmit:true })
       
});

Any help will be greatly appreciated.

JohnM

It's not who I am underneath, but what I do that defines me.

29/06/2009
08:55
Avatar
jmcleod3
Member
Members
Forum Posts: 33
Member Since:
04/05/2009
sp_UserOfflineSmall Offline

Solved on my own.

Just updated all jqGrid files from github.

Note to all:

Remember to do this ever so often. It helps.

Thanks for the update, Tony.

John

It's not who I am underneath, but what I do that defines me.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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