LigerUi的Grid控件如何添加和去掉工具条!(已斛决)

  var grid = $("#maingrid").ligerGrid({
          columns: [


          { display: "序号", name: "ID", width: 100, type: "text", align: "left" },
 
          { display: "联系电话", name: "Telephone", width: 100, type: "date", align: "left" },
          { display: "负责人", name: "LegalPerson", width: 60, type: "date", align: "left" }
         ], dataAction: 'local', url: '../hanClass&v=5', //  【后面的toobar加上或去掉】 toolbar: {}, 
             pageSize: 20, sortName: 'OrderID',isScroll: false,

         width: '98%', height: '100%', heightDiff: -10, checkbox: false
      });


  var grid = $("#maingrid").ligerGrid({
          columns: [


          { display: "序号", name: "ID", width: 100, type: "text", align: "left" },
 
          { display: "联系电话", name: "Telephone", width: 100, type: "date", align: "left" },
          { display: "负责人", name: "LegalPerson", width: 60, type: "date", align: "left" }
         ], dataAction: 'local', url: '../hanClass&v=5', //  【后面的toobar加上或去掉】 toolbar: {}, 
             pageSize: 20, sortName: 'OrderID',isScroll: false,

         width: '98%', height: '100%', heightDiff: -10, checkbox: false
      });


你可能感兴趣的:(LigerUi的Grid控件如何添加和去掉工具条!(已斛决))