<script type="text/javascript">
  $(function(){
   var pager = $('#dg').datagrid('getPager'); // get the pager of datagrid
   pager.pagination({
    buttons:[{
     iconCls:'icon-search',
     handler:function(){
      alert('search');
     }
    },{
     iconCls:'icon-add',
     handler:function(){
      alert('add');
     }
    },{
     iconCls:'icon-edit',
     handler:function(){
      alert('edit');
     }
    }]
   });   
  })
 </script>

相关文章:

  • 2021-09-09
  • 2022-01-04
  • 2021-06-08
  • 2022-01-30
  • 2021-11-15
  • 2022-12-23
  • 2021-05-17
  • 2021-09-04
猜你喜欢
  • 2021-08-15
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2022-01-26
  • 2021-06-09
相关资源
相似解决方案