iT邦幫忙

0

[Aras筆記] 設定TreeGridView(2) - GridView設計

2018-10-23 12:37:37383 瀏覽

進入此篇圖文解說前,如果還不知道Query Definition,請先看上一篇
[Aras筆記] 設定TreeGridView(1)-Query Definition

GridView設定

  1. 新增一個TreeGridView物件,輸入name, query definition物件後存檔
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503HssoXEOvjC.png
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503LnYLbE3IhI.png

  2. 切換至設計GridView編輯視窗
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503Cye5JXkZKQ.png

  3. 新增顯示用的Grid Column欄位,點兩下標題欄位,輸入標題
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503gQKQSGQOty.png
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503KGisJPJsJj.png
    https://ithelp.ithome.com.tw/upload/images/20181023/201065031E0rvsOysA.png

  4. 開始Mapping屬性至GridView,Part 、CAD等物件類型都需要按下 Map Element
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503IglCVAYsn4.png
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503dx95ehlwhL.png

  5. 移動滑鼠至指定的格子(Cell)按下右鍵,設定顯示的欄位值
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503f53F2CJWDO.png
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503IfRDpqU6z3.png

  6. 設定預設條件的欄位,令使用者在此條件欄位下運作
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503Czc2S4wPbz.png

  7. 完成顯示設定後如圖,並儲存
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503LCLSjDmIZc.png

  8. 接下來利用Action->Set Tree Grid View Usage 功能,將這個表格加入至Part頁籤
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503H3NfAMWppq.png

  9. 選擇加入頁籤
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503uiKizZtEtw.png

  10. 選擇作用在Part的物件類型,並用新增頁籤的方式下一步
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503PwDszHntLM.png

  11. 輸入相關的頁籤屬性後,下一步
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503BeqJQOy093.png

  12. 這裡預設帶入Query Difinition最Top的物件ID 對應 Part ID
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503ttKHIxnK88.png

  13. 此步驟確認後,按下Generate建立
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503AYBsEhGvDm.png

  14. 出現此視窗即完成,按下Done結束
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503t1zgSzfuMG.png

  15. 檢視Part 頁籤是否有GridView
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503vkYEHIKXM2.png

  16. 點選參數修改,並打勾確認
    https://ithelp.ithome.com.tw/upload/images/20181023/20106503Kgn8vXzWDF.png

  17. 顯示出完整的結構則結束
    https://ithelp.ithome.com.tw/upload/images/20181023/201065032U5FJMJZpP.png


尚未有邦友留言

立即登入留言