بسم الله الرحمن الرحيم
اللهم علمنا ما ينفعنا وانفعنا بما علمتنا يا رب العالمين
---------------
موضوعنا اليوم عن af:panelCollection FeatureOff والموضوع هيكون مدعم بالصور والشرح
هي احد مميزات af:panelCollection لعرض جدول البيانات بمميزات اكتر ولكن السؤال كيف اتحكم
في هذه المميزات من خلال اخفاء واظهار ما اريده فقط وهذه هو الموضوعنا اليوم ان شاء الله
وفي هذه الجدول توضيح لكل المميزات المتاحة في af:panelCollection FeatureOff القيمة المستخدمة لاخفائها
Value | Turns off |
---|---|
statusBar | Status bar |
viewMenu | 'View' menu |
formatMenu | 'Format' menu |
columnsMenuItem | 'Columns' sub-menu item |
columnsMenuItem:col1,col20 | Columns with column ID: 'col1' and 'col20' inside 'Columns' sub-menu |
freezeMenuItem | 'Freeze' menu item |
detachMenuItem | 'Detach' menu item |
sortMenuItem | 'Sort' menu item |
reorderColumnsMenuItem | 'Reorder Columns' menu item |
resizeColumnsMenuItem | 'Resize Columns' menu item |
wrapMenuItem | 'Wrap' menu item |
showAsTopMenuItem | Tree/TreeTable 'Show As Top' menu item |
scrollToFirstMenuItem | Tree/TreeTable 'Scroll To First' menu item |
scrollToLastMenuItem | Tree/TreeTable 'Scroll To Last' menu item |
freezeToolbarItem | 'Freeze' toolbar item |
detachToolbarItem | 'Detach' toolbar item |
wrapToolbarItem | 'Wrap' toolbar item |
showAsTopToolbarItem | Tree/TreeTable 'Show As Top' toolbar item |
wrap | 'Wrap' menu and toolbar items |
freeze | 'Freeze' menu and toolbar items |
detach | 'Detach' menu and toolbar items |
ونبدا بالشرح لكل قيمة في الجدول التوضيحي
1. statusBar
<af:panelCollection id="pc1" featuresOff="statusBar">
When we set statusBar to the featuresOff attribute, it hides panelCollection's status bar.
لما يتم اختيار statusBar في featuresOff هيتم اختفاء status bar كما بالصورة
2. viewMenu
<af:panelCollection id="pc1" featuresOff="viewMenu">
When we set viewMenu to the featuresOff attribute, it completely removes the View Menu.
<af:panelCollection id="pc1" featuresOff="viewMenu">
When we set viewMenu to the featuresOff attribute, it completely removes the View Menu.
لما يتم اختيار viewMenu في featuresOff هيتم اختفاء View Menu كما بالصورة
3. formatMenu
<af:panelCollection id="pc1" featuresOff="formatMenu">
When we set formatMenu to the featuresOff attribute, it completely removes the Format Menu.
<af:panelCollection id="pc1" featuresOff="formatMenu">
When we set formatMenu to the featuresOff attribute, it completely removes the Format Menu.
لما يتم اختيار formatMenu في featuresOff هيتم اختفاء Format Menu كما بالصورة
4. columnsMenuItem
<af:panelCollection id="pc1" featuresOff="columnsMenuItem">
When we set columnsMenuItem to the featuresOff attribute, it removes the Columns menu item under View menu. Check the next option to hide specific columns.
<af:panelCollection id="pc1" featuresOff="columnsMenuItem">
When we set columnsMenuItem to the featuresOff attribute, it removes the Columns menu item under View menu. Check the next option to hide specific columns.
لما يتم اختيار columnsMenuItem في featuresOff هيتم اختفاء Columns menu item من View Menu كما بالصورة
5. columnsMenuItem:col1,col2
<af:panelCollection id="pc1" featuresOff="columnsMenuItem:col1,col2">
When we set columnsMenuItem:.. to the featuresOff attribute, it removes the specified columns from the Columns menu item under View menu. If you want to hide the entire Columns menu item, check the previous option.
<af:panelCollection id="pc1" featuresOff="columnsMenuItem:col1,col2">
When we set columnsMenuItem:.. to the featuresOff attribute, it removes the specified columns from the Columns menu item under View menu. If you want to hide the entire Columns menu item, check the previous option.
لما يتم اختيار columnsMenuItem:col1,col2 في featuresOff هيتم اختفاء العمود المحدد من Columns menu
اللي موجود داخل View menu كما بالصورة
ملحوظة: col1 , col2 هي ID العمود وبيكون متغير
6. freezeMenuItem
<af:panelCollection id="pc1" featuresOff="freezeMenuItem">
When we set freezeMenuItem to the featuresOff attribute, it removes Freeze menu item under View menu .
7. detachMenuItem
<af:panelCollection id="pc1" featuresOff="detachMenuItem">
When we set detachMenuItem to the featuresOff attribute, it removes Detach menu item under View menu .
8. sortMenuItem
<af:panelCollection id="pc1" featuresOff="sortMenuItem">
When we set sortMenuItem to the featuresOff attribute, it removes entire Sort menu item under View menu .
9. reorderColumnsMenuItem
<af:panelCollection id="pc1" featuresOff="reorderColumnsMenuItem">
When we set reorderColumnsMenuItem to the featuresOff attribute, it removes Reorder Columns... menu item under View menu .
10. resizeColumnsMenuItem
<af:panelCollection id="pc1" featuresOff="resizeColumnsMenuItem">
When we set resizeColumnsMenuItem to the featuresOff attribute, it removes Resize Columns... menu item under Format menu .
11. wrapMenuItem
<af:panelCollection id="pc1" featuresOff="wrapMenuItem">
When we set wrapMenuItem to the featuresOff attribute, it removes Wrap menu item under Format menu .
12. showAsTopMenuItem
<af:panelCollection id="pc1" featuresOff="showAsTopMenuItem">
When we set showAsTopMenuItem to the featuresOff attribute, it removes Show as Top and Go to Top menu items under View menu (Applicable for the tree/treeTable) .
13. scrollToFirstMenuItem
<af:panelCollection id="pc1" featuresOff="scrollToFirstMenuItem">
When we set scrollToFirstMenuItem to the featuresOff attribute, it removes Scroll to First menu item under View menu (Applicable for the tree/treeTable) .
<af:panelCollection id="pc1" featuresOff="freezeMenuItem">
When we set freezeMenuItem to the featuresOff attribute, it removes Freeze menu item under View menu .
لما يتم اختيار freezeMenuItem في featuresOff هيتم اختفاء Freeze Menu كما بالصورة
7. detachMenuItem
<af:panelCollection id="pc1" featuresOff="detachMenuItem">
When we set detachMenuItem to the featuresOff attribute, it removes Detach menu item under View menu .
لما يتم اختيار detachMenuItem في featuresOff هيتم اختفاء Detach menu من View Menu كما بالصورة
8. sortMenuItem
<af:panelCollection id="pc1" featuresOff="sortMenuItem">
When we set sortMenuItem to the featuresOff attribute, it removes entire Sort menu item under View menu .
لما يتم اختيار sortMenuItem في featuresOff هيتم اختفاء Sort menu item من View Menu كما بالصورة
9. reorderColumnsMenuItem
<af:panelCollection id="pc1" featuresOff="reorderColumnsMenuItem">
When we set reorderColumnsMenuItem to the featuresOff attribute, it removes Reorder Columns... menu item under View menu .
لما يتم اختيار reorderColumnsMenuItem في featuresOff هيتم اختفاء Reorder Columns من View Menu كما بالصورة
10. resizeColumnsMenuItem
<af:panelCollection id="pc1" featuresOff="resizeColumnsMenuItem">
When we set resizeColumnsMenuItem to the featuresOff attribute, it removes Resize Columns... menu item under Format menu .
لما يتم اختيار resizeColumnsMenuItem في featuresOff هيتم اختفاء Resize Columns من Format Menu كما بالصورة
11. wrapMenuItem
<af:panelCollection id="pc1" featuresOff="wrapMenuItem">
When we set wrapMenuItem to the featuresOff attribute, it removes Wrap menu item under Format menu .
لما يتم اختيار wrapMenuItem في featuresOff هيتم اختفاء Wrap Columns من Format Menu كما بالصورة
12. showAsTopMenuItem
<af:panelCollection id="pc1" featuresOff="showAsTopMenuItem">
When we set showAsTopMenuItem to the featuresOff attribute, it removes Show as Top and Go to Top menu items under View menu (Applicable for the tree/treeTable) .
لما يتم اختيار showAsTopMenuItem في featuresOff هيتم اختفاء Show as Top and Go to Top من View Menu كما بالصورة
13. scrollToFirstMenuItem
<af:panelCollection id="pc1" featuresOff="scrollToFirstMenuItem">
When we set scrollToFirstMenuItem to the featuresOff attribute, it removes Scroll to First menu item under View menu (Applicable for the tree/treeTable) .
لما يتم اختيار scrollToFirstMenuItem في featuresOff هيتم اختفاء Scroll to First من View Menu كما بالصورة
14. scrollToLastMenuItem
<af:panelCollection id="pc1" featuresOff="scrollToLastMenuItem">
When we set scrollToLastMenuItem to the featuresOff attribute, it removes Scroll to Last menu item under View menu (Applicable for the tree/treeTable) .
15. freezeToolbarItem
<af:panelCollection id="pc1" featuresOff="freezeToolbarItem">
When we set freezeToolbarItem to the featuresOff attribute, it removes Freeze button from the Toolbar.
16. detachToolbarItem
<af:panelCollection id="pc1" featuresOff="detachToolbarItem">
When we set detachToolbarItem to the featuresOff attribute, it removes Detach button from the Toolbar.
17. wrapToolbarItem
<af:panelCollection id="pc1" featuresOff="wrapToolbarItem">
When we set wrapToolbarItem to the featuresOff attribute, it removes Wrap button from the Toolbar.
18. showAsTopToolbarItem
<af:panelCollection id="pc1" featuresOff="showAsTopToolbarItem">
When we set showAsTopToolbarItem to the featuresOff attribute, it removes Go Up, Go to Top and Show as Top buttons from the Toolbar (Applicable for tree/treeTable).
19. wrap
<af:panelCollection id="pc1" featuresOff="wrap">
When we set wrap to the featuresOff attribute, it removes Wrap menu item from Format Menu as well as from the Toolbar. Equivalent to featuresOff="wrapMenuItem wrapToolbarItem".
20. freeze
<af:panelCollection id="pc1" featuresOff="freeze">
When we set freeze to the featuresOff attribute, it removes Freeze menu item from View Menu as well as from the Toolbar. Equivalent to featuresOff="freezeMenuItem freezeToolbarItem".
21. detach
<af:panelCollection id="pc1" featuresOff="detach">
When we set detach to the featuresOff attribute, it removes Detach menu item from View Menu as well as from the Toolbar. Equivalent to featuresOff="detachMenuItem detachToolbarItem".
<af:panelCollection id="pc1" featuresOff="scrollToLastMenuItem">
When we set scrollToLastMenuItem to the featuresOff attribute, it removes Scroll to Last menu item under View menu (Applicable for the tree/treeTable) .
لما يتم اختيار scrollToLastMenuItem في featuresOff هيتم اختفاء Scroll to Last من View Menu كما بالصورة
15. freezeToolbarItem
<af:panelCollection id="pc1" featuresOff="freezeToolbarItem">
When we set freezeToolbarItem to the featuresOff attribute, it removes Freeze button from the Toolbar.
لما يتم اختيار freezeToolbarItem في featuresOff هيتم اختفاء Freeze كما بالصورة
16. detachToolbarItem
<af:panelCollection id="pc1" featuresOff="detachToolbarItem">
When we set detachToolbarItem to the featuresOff attribute, it removes Detach button from the Toolbar.
لما يتم اختيار detachToolbarItem في featuresOff هيتم اختفاء Detach كما بالصورة
17. wrapToolbarItem
<af:panelCollection id="pc1" featuresOff="wrapToolbarItem">
When we set wrapToolbarItem to the featuresOff attribute, it removes Wrap button from the Toolbar.
لما يتم اختيار wrapToolbarItem في featuresOff هيتم اختفاء Wrap كما بالصورة
18. showAsTopToolbarItem
<af:panelCollection id="pc1" featuresOff="showAsTopToolbarItem">
When we set showAsTopToolbarItem to the featuresOff attribute, it removes Go Up, Go to Top and Show as Top buttons from the Toolbar (Applicable for tree/treeTable).
لما يتم اختيار showAsTopToolbarItem في featuresOff هيتم اختفاء Go Up, Go to Top and Show as Top كما بالصورة
19. wrap
<af:panelCollection id="pc1" featuresOff="wrap">
When we set wrap to the featuresOff attribute, it removes Wrap menu item from Format Menu as well as from the Toolbar. Equivalent to featuresOff="wrapMenuItem wrapToolbarItem".
لما يتم اختيار wrap في featuresOff هيتم اختفاء Wrap كما بالصورة
20. freeze
<af:panelCollection id="pc1" featuresOff="freeze">
When we set freeze to the featuresOff attribute, it removes Freeze menu item from View Menu as well as from the Toolbar. Equivalent to featuresOff="freezeMenuItem freezeToolbarItem".
لما يتم اختيار freeze في featuresOff هيتم اختفاء Freeze menu item من View Menu كما بالصورة
21. detach
<af:panelCollection id="pc1" featuresOff="detach">
When we set detach to the featuresOff attribute, it removes Detach menu item from View Menu as well as from the Toolbar. Equivalent to featuresOff="detachMenuItem detachToolbarItem".
لما يتم اختيار detach في featuresOff هيتم اختفاء Detach menu item من View Menu كما بالصورة
ملحوظة : في حالة اذا ارت اخفاء اكتر من ميزة قوم بكتبتهم هكذا freeze detach يعني بوجود مسافة ما بينهم
والسلام عليكم ورحمته الله وبركاته
<< سبحانك اللهم وبحمدك أشهد أن لا اله الا أنت أستغفرك وأتوب اليك >>
No comments :
Post a Comment