用於以表格形式顯示資料
屬性
| 
   名稱  | 
  
  
   類型  | 
  
  
   説明  | 
  
 
| 
   ID  | 
  
  
   string  | 
  
  
   元件名稱,用於識別該元件  | 
  
 
| 
   RemoteName  | 
  
  
   string  | 
  
  
   元件連接的資料源  | 
  
 
| 
   Columns  | 
  
  
   Collection  | 
  
  
   Grid中顯示的欄位  | 
  
 
| 
   WhereStr  | 
  
  
   string  | 
  
  
   固定的過濾條件,如:一開始表單不顯示出資料可以設為1=0  | 
  
 
| 
   AutoApply  | 
  
  
   bool  | 
  
  
   是否自動存檔  | 
  
 
| 
   EditOnEnter  | 
  
  
   bool  | 
  
  
   是否選中Grid當前筆資料即進入編輯狀態  | 
  
 
| 
   ToolItems  | 
  
  
   Collection  | 
  
  
   用於設定Grid上的新增、修改、刪除等按鈕,請參照JQToolItem屬性設定  | 
  
 
| 
   ViewCommandVisible  | 
  
  
   bool  | 
  
  
   是否在grid前顯示瀏覽按鈕  | 
  
 
| 
   EditCommandVisible  | 
  
  
   bool  | 
  
  
   是否在grid前顯示修改按鈕  | 
  
 
| 
   DeleteCommandVisible  | 
  
  
   bool  | 
  
  
   是否在grid前顯示刪除按鈕  | 
  
 
| 
   RowToolItems  | 
  
  
   Collection  | 
  
  
   用於設定Grid上每一列前面的按鈕,請參照JQToolItem屬性設定  | 
  
 
| 
   EditForm  | 
  
  
   string  | 
  
  
   編輯的DataForm元件ID  | 
  
 
| 
   ParentObject  | 
  
  
   string  | 
  
  
   在MasterDetail時,設定detail對應的Master顯示的元件ID  | 
  
 
| 
   TotalMode  | 
  
  
   string  | 
  
  
   計算的模式(all代表計算全部資料、page代表只計算當前頁)  | 
  
 
| 
   QueryColumns  | 
  
  
   Collection  | 
  
  
   用於設定Grid的查詢欄位,請參考JQQueryColumn屬性設定  | 
  
 
| 
   QueryMode  | 
  
  
   enum  | 
  
  
   Dialog表示打開新窗口顯示查詢條件欄位,Panel表示在Grid上方直接顯示查詢條件欄位,Fuzzy表示在Grid上方直接顯示模糊查詢條件欄位  | 
  
 
| 
   QueryTitle  | 
  
  
   string  | 
  
  
   查詢視窗標題  | 
  
 
| 
   AutoQueryColumn  | 
  
  
   bool  | 
  
  
   自動在Grid上產生textBox提供欄位的查詢  | 
  
 
| 
   ShowCheckbox  | 
  
  
   bool  | 
  
  
   是否顯示多選框  | 
  
 
| 
   RecordLock  | 
  
  
   bool  | 
  
  
   是否做紀錄鎖定  | 
  
 
| 
   ReportName  | 
  
  
   string  | 
  
  
   設定對應的報表名稱  | 
  
 
| 
   OnInit  | 
  
  
   string  | 
  
  
   在Grid載入前,調用的js方法名稱  | 
  
 
| 
   OnLoad  | 
  
  
   string  | 
  
  
   在Grid載入完成時,調用的js方法名稱  | 
  
 
| 
   OnSelect  | 
  
  
   string  | 
  
  
   在選中資料時,調用的js方法名稱  | 
  
 
| 
   OnInsert  | 
  
  
   string  | 
  
  
   在資料準備新增時,調用的js方法名稱  | 
  
 
| 
   OnUpdate  | 
  
  
   string  | 
  
  
   在資料準備修改時,調用的js方法名稱  | 
  
 
| 
   OnDelete  | 
  
  
   string  | 
  
  
   在資料準備刪除時,調用的js方法名稱  | 
  
 
| 
   OnInserted  | 
  
  
   string  | 
  
  
   在資料新增完畢時,調用的js方法名稱  | 
  
 
| 
   OnUpdated  | 
  
  
   string  | 
  
  
   在資料修改完畢時,調用的js方法名稱  | 
  
 
| 
   OnDeleted  | 
  
  
   string  | 
  
  
   在資料刪除完畢時,調用的js方法名稱  | 
  
 
| 
   OnApplied  | 
  
  
   string  | 
  
  
   在資料存檔完畢時,調用的js方法名稱  | 
  
 
| 
   AutoRowHeight  | 
  
  
   bool  | 
  
  
   自動調整列高  | 
  
 
| 
   Striped  | 
  
  
   bool  | 
  
  
   是否條紋顯示奇偶行  | 
  
 
| 
   NoWrap  | 
  
  
   bool  | 
  
  
   文字是否折行  | 
  
 
| 
   Pagination  | 
  
  
   bool  | 
  
  
   是否分頁  | 
  
 
| 
   RowNumbers  | 
  
  
   bool  | 
  
  
   每一列前面是否要顯示編碼  | 
  
 
| 
   SingleSelect  | 
  
  
   bool  | 
  
  
   每次只選取一筆資料  | 
  
 
| 
   CtrlSelect  | 
  
  
   bool  | 
  
  
   以Ctrl+Click的方式選取多筆資料,使用此屬性時,SingleSelect屬性需要取消勾選  | 
  
 
| 
   CheckOnSelect  | 
  
  
   bool  | 
  
  
   選中該筆時自動勾選checkbox  | 
  
 
| 
   SelectOnCheck  | 
  
  
   bool  | 
  
  
   點選checkbox時選中該筆  | 
  
 
| 
   PagePosition  | 
  
  
   bool  | 
  
  
   分頁欄的位置:Top/Bottom/Both  | 
  
 
| 
   PageSize  | 
  
  
   Int  | 
  
  
   預設分頁筆數,此值需要在PageList中  | 
  
 
| 
   PageList  | 
  
  
   string  | 
  
  
   分頁筆數選擇清單  | 
  
 
| 
   Title  | 
  
  
   string  | 
  
  
   Grid顯示標題  | 
  
 
| 
   iconCls  | 
  
  
   string  | 
  
  
   Grid顯示標題前面的圖示  | 
  
 
| 
   Width  | 
  
  
   int  | 
  
  
   Grid寬度  | 
  
 
| 
   Height  | 
  
  
   int  | 
  
  
   Grid高度  | 
  
 
| 
   Fit  | 
  
  
   bool  | 
  
  
   自動適應視窗大小  | 
  
 
| 
   Border  | 
  
  
   bool  | 
  
  
   是否要有外框線  |