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
navGrid height
20/04/2011
21:42
Avatar
Charlie
New Member
Members
Forum Posts: 2
Member Since:
20/04/2011
sp_UserOfflineSmall Offline

The pager/navGrid isn't showing it's full height.  Any idea what I'm doing wrong?

Image Enlarger

    <link type="text/css" href="Scripts/css/start/jquery-ui-1.8.11.custom.css" rel="Stylesheet" media="screen" />
    <link type="text/css" href="Scripts/css/ui.jqgrid.css" rel="stylesheet" media="screen" />
    <script src="Scripts/js/jquery-1.5.2.min.js" type="text/javascript"></script>
    <script src="Scripts/js/jquery-ui-1.8.11.custom.min.js" type="text/javascript"></script>
    <script src="Scripts/js/jquery.validate.min.js" type="text/javascript"></script>
    <script src="Scripts/js/i18n/grid.locale-en.js" type="text/javascript"></script>
    <script src="Scripts/js/jquery.jqGrid.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#Journals").jqGrid({
                url: "OutputAjax.aspx",
                datatype: "xml",
                colNames: ['Id', 'Journal Name', 'Date of Publication'],
                colModel: [
                    { name: 'projectjournalid', hidden: true, key: true },
                    { name: 'journalname', width: 250, sortable: false, editable: true, edittype: 'select', editoptions: { dataUrl: 'OutputAjax.aspx?method=getjournals'} },
                    { name: 'datepublication', width: 150, editable: true, sortable: false, editoptions: { dataInit: function (el) { $(el).datepicker().css({ 'background-image': 'url("calendar.gif")', 'background-position': 'right center', 'background-repeat': 'no-repeat' }); } } }
                ],
                pager: $("#jpager"),
                rowNum: 20,
                editurl: "OutputAjax.aspx",
                caption: "Journals",
                viewrecords: true,
                postData: {
                    method: "getprojectjournal",
                    projectid: function () { return getParameterByName("projectid"); }
                }
            });
            
            $("#Journals").jqGrid('navGrid','#jpager', { edit: true, add: true, del: true, search: false },
                { // edit option
                    modal: true, closeOnEscape: true, editData: { method: "editprojectjournal", projectid: function () { return getParameterByName("projectid"); } }, mtype: "GET", closeAfterEdit: true,
                    beforeShowForm: function (form) { $('#tr_journalname', form).hide(); }
                },
                { // add option
                    modal: true, closeOnEscape: true, editData: { method: "addprojectjournal", projectid: function () { return getParameterByName("projectid"); } }, mtype: "GET", closeAfterAdd: true
                },
                {
                    modal: true, closeOnEscape: true, delData: { method: "delprojectjournal", projectid: function () { return getParameterByName("projectid"); } }, mtype: "GET"
                });
20/04/2011
22:08
Avatar
Charlie
New Member
Members
Forum Posts: 2
Member Since:
20/04/2011
sp_UserOfflineSmall Offline

Setting pginput: false shifts the nav buttons up to the proper positions, but I'm not sure why I need to do that.

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