Difference between revisions of "Split Grid Sections"
Yvonne.milne (Talk | contribs) (→SetSplitGridTabs() Method) |
Yvonne.milne (Talk | contribs) (→SetSplitGridTabs() Method) |
||
Line 52: | Line 52: | ||
* cComponentList | * cComponentList | ||
− | Comma separated list of [[Visual Components|visual components with optional captions. | + | Comma separated list of [[Visual Components|visual components]] with optional captions. |
[[Category:Lianja v6.0]] | [[Category:Lianja v6.0]] | ||
[[Category:Sections]] | [[Category:Sections]] | ||
[[Category:Attributes]] | [[Category:Attributes]] |
Revision as of 13:15, 25 March 2021
Contents
Overview
See the Example SplitGrid (example_navpanel2) App for a demonstration of split grid functionality.
Attributes
Split grid
Split the grid into a grid and a form (True | False)
From Lianja v6.0, Split grid is also supported in web Apps:
Show split edit
Display grid in split/form edit mode when displayed (True | False)
Edit memo/varchar list
List of memo/varchar fields to be included in split grid form edit. This is a comma separated list, e.g. notes:caption1,notes2:caption2. From v6.0.
Edit memo/varchar editors
List of editors to be used in split grid form edit for memo/varchar fields. This is a comma separated list, e.g. html,text. From v6.0.
View Image list
List of image/blob fields to be included in split grid form edit. This is a comma separated list, e.g. photo1:caption1,photo2:caption2. From v6.0.
Split grid component list
List of components to be included in split grid form edit. This is a comma separated list, e.g. component:/mylib.mycomp1(‘prop=value;...’);caption1,component:/mylib.mycomp2(‘prop=value;...’);caption2. From v6.0.
Show memo/object panel
Show memo/object panel in splitbar mode (True | False)
SetSplitGridTabs() Method
The grid setSplitGridTabs() method can be used to configure the tabs programmatically:
ogrid.setSplitGridTabs(cMemoList, cImageList, cEditorList, cComponentList)
- cMemoList
Comma separated list of memo/varchar fields with optional captions
- cImageList
Comma separated list of image fields with optional captions.
- cEditorList
Comma separated list of editors to use.
- cComponentList
Comma separated list of visual components with optional captions.