grid

          grid

            BlogJava :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
            78 Posts :: 0 Stories :: 62 Comments :: 0 Trackbacks

          2013年1月4日 #

          Pager:分頁控件
                          
                      
                               

          參考示例Pager:分頁控件


                      
                     

          創(chuàng)建代碼   

          <div class="mini-pager" style="width:600px;background:#ccc;" 
              totalCount="123" onpagechanged="onPageChanged" sizeList="[5,10,20,100]"
              showTotalCount="true"
              >        
          </div>    
          <script type="text/javascript">
              function onPageChanged(e) {
                  alert(e.pageIndex+":"+e.pageSize);
              }       
          </script>
          

                    
          posted @ 2013-01-06 17:05 nikofan 閱讀(2213) | 評論 (0)編輯 收藏

          OutlookTree:折疊樹
                          
                      
                            

          參考示例OutlookTree:折疊樹


                                 

          創(chuàng)建OutlookTree     

          <div id="leftTree" class="mini-outlooktree" url="../data/outlooktree.txt" onnodeselect="onNodeSelect"
              textField="text" idField="id" parentField="pid">
          </div>
                    

          數(shù)據(jù)格式

          [
              {id: "user", text: "用戶管理"},
                  
              {id: "lists", text: "Lists", pid: "user" },
                      
              {id: "datagrid", text: "DataGrid", pid: "lists"},            
              {id: "tree", text: "Tree" , pid: "lists"},
              {id: "treegrid", text: "TreeGrid " , pid: "lists"},
                  
              {id: "layouts", text: "Layouts", expanded: false, pid: "user"},
                  
              {id: "panel", text: "Panel", pid: "layouts"},
              {id: "splitter", text: "Splitter", pid: "layouts"},
              {id: "layout", text: "Layout ", pid: "layouts"},
                  
              { id: "right", text: "權(quán)限管理"},
                  
              {id: "base", text: "Base", expanded: false, pid: "right" },
                          
              {id: "ajax", text: "Ajax", pid: "base"},
              {id: "json", text: "JSON", pid: "base"},
              {id: "date", text: "Date", pid: "base"},
                  
              {id: "forms", text: "Forms", expanded: false, pid: "right"},
                          
              {id: "button", text: "Button", pid: "forms"},
              {id: "listbox", text: "ListBox", pid: "forms"},
              {id: "checkboxlist", text: "CheckBoxList", pid: "forms"},
              {id: "radiolist", text: "RadioList", pid: "forms"},
              {id: "calendar", text: "Calendar", pid: "forms"}                
          ]
          
          posted @ 2013-01-05 17:07 nikofan 閱讀(1855) | 評論 (0)編輯 收藏

          OutlookMenu:折疊菜單
                          
                                          

          參考示例OutlookMenu:折疊菜單

                  
                     

          創(chuàng)建OutlookMenu        

          <div class="mini-outlookmenu" url="../data/outlookmenu.txt" onitemselect="onItemSelect"
              idField="id" parentField="pid" textField="text">
          </div>
          
                     

          數(shù)據(jù)結(jié)構(gòu)

          [
              { id: "user", text: "用戶管理"},
              { id: "addUser", pid: "user", text: "增加用戶", iconCls: "icon-add", url: "../navbartree/navbartree.html" },
              { id: "editUser", pid: "user", text: "修改用戶", iconCls: "icon-edit", url: "../buttonedit/openwindow.html" },
              { id: "removeUser", pid: "user", text: "刪除用戶", iconCls: "icon-remove", url: "../datagrid/datagrid.html" },
                  
              { id: "right", text: "權(quán)限管理"},
              { id: "addRight", pid: "right", text: "查詢權(quán)限", iconCls: "Note", url: "../navbartree/navbartree.html", iconPosition: "top" },
              { id: "editRight", pid: "right", text: "操作權(quán)限", iconCls: "Reports", url: "../buttonedit/openwindow.html", iconPosition: "top" }        
          ]
          
          posted @ 2013-01-04 16:23 nikofan 閱讀(2141) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 南投县| 都兰县| 平邑县| 文安县| 邯郸市| 许昌市| 安乡县| 连州市| 越西县| 梁河县| 南丹县| 龙泉市| 德州市| 永和县| 博乐市| 攀枝花市| 蒙山县| 焦作市| 铁岭县| 广灵县| 南开区| 临高县| 大同市| 岑溪市| 晋中市| 南召县| 百色市| 南投县| 大安市| 平江县| 建水县| 浑源县| 定襄县| 濮阳市| 汝州市| 射洪县| 湘阴县| 延津县| 含山县| 长宁区| 阿坝|