首页 > 移动平台 > 详细

append some buttons to the standard datagrid pager bar

时间:2014-03-30 11:17:33      阅读:487      评论:0      收藏:0      [点我收藏+]

<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>

append some buttons to the standard datagrid pager bar,布布扣,bubuko.com

append some buttons to the standard datagrid pager bar

原文:http://www.cnblogs.com/dotnetmvc/p/3633111.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!