jQWidgets Forums

jQuery UI Widgets Forums Grid Reference to self…

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Reference to self… #21367

    eCandidus
    Member

    I am using the code below from the examples:

    $(“#jqxgrid”).jqxGrid(
    {
    ready: function () {
    $(“#jqxgrid”).jqxGrid(‘showrowdetails’, 0);
    $(“#jqxgrid”).jqxGrid(‘showrowdetails’, 1);
    }
    });

    Is there any way to accomplish the following:

    var readyfn = function() {
    ???.jqxGrid(‘call’);
    };

    $(“#jqxgrid1”).jqxGrid({ ready: readyfn });

    $(“#jqxgrid2”).jqxGrid({ ready: readyfn });

    I need to know what I can use in place of the ???

    Thanks

    Reference to self… #21371

    Peter Stoev
    Keymaster

    Hi,

    “ready” is a callback function which is called by the Grid when it is displayed and ready for user interaction. It is important to define the “ready” field in the Grid’s initialization. That callback function is called just once. In case you need something which is called each time the binding operation is completed, then use the “bindingcomplete” event instead.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.