cms

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Author
    Replies
  • in reply to: Why is the GridHeader sometimes hidden in Firefox? #84653
    cms
    Participant

    Thanks Tony, i just wanted to be sure that i did not misunderstand you 😉

    in reply to: Why is the GridHeader sometimes hidden in Firefox? #84559
    cms
    Participant

    Hello Tony,

    it definitely seems to be a speed issue.
    I use
    jqGrid 3.3.1 – jQuery Grid, Date: 2008-11-01 rev 67
    with
    FireFox 3.0.4

    and have many things to load during startup, in sum 2 MB.
    When i initialize the grid with

    var self = this;
    setTimeout(self.initGrid, 1000);

    where initGrid is the function that really initializes my grid, it works, the caption and navbar appear.

    As you mentioned on 2008-09-23 that it is part of a beta version, should that bug be fixed with 3.3.1 or not?

    best regards, Christoph

    in reply to: no navigation button in edit dialog #83477
    cms
    Participant

    Thanks Tony, that works perfectly well.
    Best Regards, Christoph

    in reply to: no navigation button in edit dialog #83455
    cms
    Participant

    Hello Tony,

    your solution
    $(”#pData”,formid).css(”display”,”none”);

    does not work at all.

    Even my solution
    $(”#pData, #nData”).hide(”fast”);
    does only work every other time. If i call editGridRow(…) a second time, the buttons appear, the next time they don’t and so on.

    zuperts’ solution
    jQuery(”img#pData”).css(”visibility”, “hidden”);
    does work for my website as i just want to hide all previous and next buttons in the EditForm div.

    regards, christoph

    in reply to: no navigation button in edit dialog #83417
    cms
    Participant

    thanks tony, but that wasn’t it at last.
    I have to add the speed with the .hide() method and even leave the formid
    like this:

    $(”#pData, #nData”).hide(”fast”);

    i’m working with jquery 1.2.6, don’t know if that makes the difference…

    in reply to: no navigation button in edit dialog #83405
    cms
    Participant

    problem: the buttons pData and nData will not hide like i want them to.

    in reply to: no navigation button in edit dialog #83393
    cms
    Participant

    sorry to bother, but i can’t get it to work. the buttons still appear.

    this is my source for the pager where i have defined an additional button that calls the .editGridRow method:

    // pager of fifth grid
    $(”#EditTableTable”).navGrid(”#EditTablePager”,{
    refresh: true, edit: false, add: false, del: false, search: true
    }).navButtonAdd(’#EditTablePager’,{
    caption:””, buttonimg:”images/edit.gif”, onClickButton: function(){
    var rowID = $(”#EditTableTable”).getGridParam(’selrow’);
    if( rowID != null ) { $(”#EditTableTable”).editGridRow(rowID,{
    top:260,left:20,height:267,width:310,
    reloadAfterSubmit:true,
    editCaption:”Grant Additional Pincode Registrations”,
    closeAfterEdit:true,
    beforeShowForm: function(formid){
    $(”#pData #nData”, formid).hide();
    }
    });
    }
    else alert(”Please select a row…”);
    },
    position:”last”
    });

    could you please have a look at it?

    Thanks, Christoph

    in reply to: no navigation button in edit dialog #83378
    cms
    Participant

    Hello Tony,

    i have integrated jqGrid with success, but am having the same problem, but are too new to jquery and jqGrid. Is “beforeShowForm” an Event or a method of jqGrid or of jquery or what else?

    Best Regards,

Viewing 8 replies - 1 through 8 (of 8 total)

Stay connected with us in your favorite flavor!