grid

          grid

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

          2012年12月24日 #

          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) | 評(píng)論 (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) | 評(píng)論 (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) | 評(píng)論 (0)編輯 收藏

          普加甘特圖是WEB甘特圖首選解決方案。適用于構(gòu)建項(xiàng)目管理、生產(chǎn)排程等進(jìn)度計(jì)劃管理軟件。支持任意開發(fā)平臺(tái)和數(shù)據(jù)庫。它是JavaScript開發(fā)的,無需安裝插件,跨瀏覽器運(yùn)行。

          基本特性

          • JavaScript實(shí)現(xiàn),無需安裝插件
          • 支持Java、.Net、Php等服務(wù)端,支持任意數(shù)據(jù)庫
          • 能與jQuery、ExtJS、YUI、Dojo等第三方框架無縫集成
          • 兼容IE6+、FireFox、Chrome、Safari等主流瀏覽器
          • 支持導(dǎo)入、導(dǎo)出微軟Project項(xiàng)目文件

          效果圖:

          Web甘特圖

          核心功能:

          • 高性能:支持大數(shù)據(jù)量。
          • 跟蹤甘特圖:顯示計(jì)劃與實(shí)際日期對(duì)比。
          • 關(guān)鍵路徑顯示
          • 自定義列:支持String、Boolean、Date、Number、Array等多種數(shù)據(jù)類型。
          • 支持4種任務(wù)關(guān)系:SS、SF、FF、FS。
          • 權(quán)限編輯控制:可根據(jù)權(quán)限精確控制單元格編輯、條形圖拖拽。
          • 懶加載顯示:通過分級(jí)加載模式,能支持超大數(shù)據(jù)量顯示。
          • 單元格編輯:支持TextBox、Spinner、DatePicker、ComboBox、TreeSelect以及自定義編輯器。
          • 可拖拽調(diào)節(jié)條形圖
          • 豐富的時(shí)間線刻度:支持年、半年、季度、月、周、日、時(shí)、分、秒。
          • 支持右鍵菜單:可以控制右鍵菜單項(xiàng)是否顯示、是否禁用。
          • 無需安裝瀏覽器插件
          • 跨瀏覽器支持:支持IE6+、FireFox、Opera、Chrome、Safari。
          • 跨服務(wù)端平臺(tái)支持:支持.Net、Java、PHP、ASP等開發(fā)平臺(tái)。
          • 語言本地化:輕松實(shí)現(xiàn)多國語言本地化,如英語、漢語、日語、德語、法語等任何語言。
          • 與第三方框架集成:能輕松與jQuery、ExtJS、YUI、Prototype.js等無縫集成。

          功能示例:


          甘特圖效果截圖如下:
           
          基本甘特圖
          Web甘特圖

          排程甘特圖: 左側(cè)表格區(qū),單元格右上角紅色三角塊,表示被修改。
          排程甘特圖

          跟蹤甘特圖:實(shí)現(xiàn)實(shí)際與計(jì)劃日期的對(duì)比。
          跟蹤甘特圖

          關(guān)鍵路徑甘特圖:關(guān)鍵路徑的工期決定了整個(gè)項(xiàng)目的工期。
          關(guān)鍵路徑甘特圖

          任務(wù)面板
          任務(wù)面板

          項(xiàng)目日歷面板
          日歷面板

          多國語言本地化
          多國語言本地化
          posted @ 2012-12-31 21:09 nikofan 閱讀(3304) | 評(píng)論 (0)編輯 收藏

          OutlookBar:折疊面板組
                      
                                

          參考示例OutlookBar:折疊面板組


                              

          創(chuàng)建OutlookBar   

          <div id="outlookbar1" class="mini-outlookbar " activeIndex="0" style="width:180px;height:250px;" autoCollapse="true">
              <div title="權(quán)限管理">            
                  1
              </div>
              <div title="用戶管理">
                  2
              </div>
          </div>
          
          posted @ 2012-12-31 10:41 nikofan 閱讀(2363) | 評(píng)論 (1)編輯 收藏

          Tabs:懶加載頁面
                                            

          參考示例Tabs:懶加載頁面


                               

          創(chuàng)建Tabs

          <ul id="tree1" class="mini-tree" url="../data/tree.txt" style="width:300px;padding:5px;" 
              showTreeIcon="true" textField="text" idField="id" >        
          </ul>
          
                             

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

          通過url返回的數(shù)據(jù)結(jié)構(gòu)如下:

          [
              {title: "Tab1", url: "../tabs/pages/page1.html", refreshOnClick: true},
              {title: "Tab2", url: "../tabs/pages/page2.html", showCloseButton: true},
              {title: "Tab3", url: "../tabs/pages/page3.html"},
              {title: "Tab4", url: "../tabs/pages/page4.html"},
              {title: "Tab5", url: "../tabs/pages/page5.html"}
          ]
          
          posted @ 2012-12-28 15:12 nikofan 閱讀(2969) | 評(píng)論 (0)編輯 收藏

          Tabs:選項(xiàng)卡


          參考示例Tabs:選項(xiàng)卡


          創(chuàng)建Tabs

          <div id="tabs1" class="mini-tabs" activeIndex="0" style="width:350px;height:200px;">
              <div title
          ="Tab1">
                 
          1
              </div>
              <div title="Tab2" iconCls
          ="icon-cut" >
                 
          2
              </div>
              <div title="Tab3" showCloseButton
          ="true">
                 
          3
              </div>
              <div title="Tab4" showCloseButton="true" enabled
          ="false">
                 
          4
              </div>
          </div
          >

          其中,子tab具有如下屬性:

          Name Type Description Default
          name String 面板名稱
          title String 標(biāo)題文本
          newLine Boolean 是否換行 false
          iconCls String 標(biāo)題圖標(biāo)樣式類
          iconStyle String 標(biāo)題圖標(biāo)樣式
          headerCls String 頭部樣式類
          headerStyle String 頭部樣式
          bodyCls String 內(nèi)容區(qū)樣式類
          bodyStyle String 內(nèi)容區(qū)樣式
          visible Boolean 是否顯示 true
          enabled Boolean 是否啟用 true
          showCloseButton Boolean 是否顯示關(guān)閉按鈕 true
          url String 路徑地址
          onload Function 加載成功時(shí)激發(fā)
          ondestroy Function 銷毀時(shí)激發(fā)
          removeAction String tab的IFrame銷毀時(shí)的動(dòng)作,比如"close","cancel","ok"。
          posted @ 2012-12-24 16:46 nikofan 閱讀(3772) | 評(píng)論 (1)編輯 收藏

          主站蜘蛛池模板: 都安| 青川县| 精河县| 随州市| 定西市| 宜川县| 大悟县| 忻城县| 开远市| 广饶县| 南丹县| 九寨沟县| 鄂托克前旗| 陇南市| 大兴区| 焉耆| 林口县| 织金县| 桃园市| 五河县| 襄垣县| 格尔木市| 湖州市| 澜沧| 龙井市| 乌拉特后旗| 南澳县| 万盛区| 秭归县| 新晃| 清丰县| 呼图壁县| 五指山市| 延寿县| 察隅县| 和龙市| 自贡市| 巴马| 额济纳旗| 浠水县| 常德市|