How can i implemente LoadComplete Funtion in Jquery

Posted by kumar on Stack Overflow See other posts from Stack Overflow or by kumar
Published on 2010-06-01T22:02:13Z Indexed on 2010/06/01 22:03 UTC
Read the original article Hit count: 229

Filed under:

I need to do the popup message for the grid.. after the grid as been load?

this is the code I am using to load the grid..

<script type="text/javascript">
    $(document).ready(function() {
        var RegisterGridEvents = function(excGrid) {
            //Register column chooser
            $(excGrid).jqGrid('navButtonAdd', excGrid + '_pager',
                 { caption: "Columns",
                     title: "Reorder Columns",
                     onClickButton: function() {
                         $(excGrid).jqGrid('columnChooser');
                     }
                 });
            $(".ui-pg-selbox").hide();
            $('.ui-jqgrid-htable th:first').prepend('Select All').attr('style', 'font-size:7px');
            //Register grid resize
            $(excGrid).jqGrid('gridResize', { minWidth: 350, maxWidth: 1500, minHeight: 400, maxHeight: 12000 });

        };
        $('#specialist-tab').tabs("option", "disabled", [2, 3, 4]);
        $('.button').button();
        RegisterButtonEvents();
        RegisterGridEvents("#ExceptionsGrid")
    });  
</script>

can anybody help me out where do i need write the pop messge to dispaly after the grid has been load.. do I need to use LoadComplete or getComplete for jquery grid to do this? if so where do I need to keep that piece of functinality in this?

thanks

© Stack Overflow or respective owner

Related posts about jQuery