grid

          grid

            BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
            78 Posts :: 0 Stories :: 62 Comments :: 0 Trackbacks

          2013年1月5日 #

          Pager:分頁控件
                          
                      
                               

          參考示例Pager:分頁控件


                      
                     

          創建代碼   

          <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:折疊樹


                                 

          創建OutlookTree     

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

          數據格式

          [
              {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: "權限管理"},
                  
              {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)編輯 收藏

          主站蜘蛛池模板: 西吉县| 靖江市| 敦化市| 彭阳县| 泸溪县| 沅江市| 旬邑县| 阳泉市| 含山县| 夏邑县| 宜宾县| 宁南县| 古丈县| 宜州市| 亚东县| 福贡县| 楚雄市| 茂名市| 新泰市| 阳曲县| 巴楚县| 浪卡子县| 会东县| 无锡市| 仁布县| 青冈县| 改则县| 图们市| 兴安县| 林甸县| 临桂县| 石景山区| 宜都市| 白河县| 安徽省| 泸溪县| 商南县| 玉溪市| 龙里县| 砚山县| 娄底市|