$('input[type="checkbox"],input[type="radio"]').iCheck({ checkboxClass: 'icheckbox_square-green', radioClass: 'iradio_square-green', }); $('#{{ $pageModule }}Table .checkall').on('ifChecked',function(){ $('#{{ $pageModule }}Table input[type="checkbox"]').iCheck('check'); }); $('#{{ $pageModule }}Table .checkall').on('ifUnchecked',function(){ $('#{{ $pageModule }}Table input[type="checkbox"]').iCheck('uncheck'); }); $('#{{ $pageModule }}Paginate .pagination li a').click(function() { var url = $(this).attr('href'); reloadData('#{{ $pageModule }}',url); return false ; }); <?php if ($setting['view-method'] == 'expand') { echo AjaxHelpers::htmlExpandGrid(); } ?> }); </script> <style> .table th.right { text-align:right !important;} .table th.center { text-align:center !important;} </style>