tony

Forum Replies Created

Viewing 15 replies - 6,121 through 6,135 (of 7,981 total)
  • Author
    Replies
  • tony
    Keymaster

    Hello,

    errorfunc is called if the ajax request does not have ok status ( this is related as error function in jquery ajax request – see jquery docs)

    aftersave function is called when the ajax is ok and data is saved (or not) in the database. This way you can notify users on what is going with the save – succes or not.

    Regards

    Tony

    in reply to: jqgrid–multi select #85841
    tony
    Keymaster

    Hello

    Read the docs.

    Regards

    Tony

    in reply to: Steel theme problem #85840
    tony
    Keymaster

    Hello,

    Maybe you can look in the padding properties for the tabe data elemets.

    REgards

    Tony

    in reply to: How to reload edit form after submit #85839
    tony
    Keymaster

    Hello,

    Use afterSubmit event and then change the count in the form direct –

    Regards

    Tony

    in reply to: Newbie Question? #85838
    tony
    Keymaster

    Hello Paul,

    The short answer.

    When you click first time the button, the grid is created and the data is populated – this is ok, but when you click second time to the button the grid is already created and you can not create it again using your approach

    There are some way to overcome this.

    1. Before creating a grid you can apply GridUnload method to restore the element to its default state.

    2. There are more elegant way

    $(“#mygrid”).jqGrid({datatype:”local”….}).setGridParam({datatype:”xml”});

    and when you click your button

    $(“#mybutton”).click(function() {

    thisURL= …..

    $(“#mygrid”).setGridParam({url:thisURL}).trigger(“reloadGrid”);

    });

    Hope this helps

    Regards

    Tony

    in reply to: no-rows-message #85835
    tony
    Keymaster

    Hello,

    Currently not possible. Adeed in next major release.

    Regards

    Tony

    in reply to: Cancel delete event #85834
    tony
    Keymaster

    Hello,

    I do not have look at begginig of your code. It is not applicable this way.

    Use beforeSubmit event instead.

    Regards

    Tony

    in reply to: Displaying custom row content #85833
    tony
    Keymaster

    Hello,

    Using a custom formatter I think will do the job. Maybe you will need to ajust the cell displaying using the setCell method. Refer to docs.

    Regards

    Tony

    in reply to: getCell & row index ‘0’ #85832
    tony
    Keymaster

    Hello again,

    Just to note – getCell uses rowid and not rowIndex (which is quite different)

    REgards

    in reply to: getCell & row index ‘0’ #85831
    tony
    Keymaster

    Hello,

    OK. Thanks – found a problem. Fixed. Will publish bug fix after some hours.

    Regards

    Tony

    in reply to: Problem with import ( JSON) #85829
    tony
    Keymaster

    Hello,

    How is your pager defined in the grid? Do you have read the IMPORTANT NOTES when using these functions?

    Regards

    Tony

    in reply to: elem[0] is undefined in call to setRowData() #85827
    tony
    Keymaster

    Hello,

    This is the right way.

    Reagrds

    Tony

    in reply to: Changing CSS in order for SELECT to look fine in AIR. #85826
    tony
    Keymaster

    Hello,

    I never use Adobe AIR, so maybe you will help a little. In my Safari and Chrome all seems to be ok. Do you have any other definitions for the selects in the CSS files?

    Also, could you please try only with pure jqGrtid and jQuery loaded

    in reply to: Drop into table #85825
    tony
    Keymaster

    Hello,

    Will be quite happy to see such realization. One more thing – jQuery UI – drag and drop does not work good on table rows.

    Regards

    Tony

    in reply to: after save callback #85824
    tony
    Keymaster

    Hello,

    If you use formedit – afterSubmit is ideal for this – refer to docs

    Regards

    Tony

Viewing 15 replies - 6,121 through 6,135 (of 7,981 total)

Stay connected with us in your favorite flavor!