gridComplete is not working in jquery?

Posted by kumar on Stack Overflow See other posts from Stack Overflow or by kumar
Published on 2010-06-02T02:38:13Z Indexed on 2010/06/02 2:43 UTC
Read the original article Hit count: 502

Filed under:
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');
                     },
                    gridComplete: funtion(){
                       alert("hello");
                    }
                 });
            $(".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>

i am not able to display hello mesage after the grid loading? thanks

© Stack Overflow or respective owner

Related posts about jQuery