Table Row (tr) |
---|
| Table Head (th) |
---|
| Constants Details |
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
ALLOW_MOVE_X |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Constant to be used when specifiying the print sliding for components. The component will move horizontally to align with its left neighbor, if that left neighbor moves or increases/decreases its size. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var growHorizLabel = form.newLabel('Grow horizontal -- long text', 10, 30, 30, 20);
growHorizLabel.printSliding = SM_PRINT_SLIDING.GROW_WIDTH;
growHorizLabel.background = 'blue';
var moveHorizRightLabel = form.newLabel('Move horizontal right', 50, 30, 100, 20);
moveHorizRightLabel.printSliding = SM_PRINT_SLIDING.ALLOW_MOVE_X;
moveHorizRightLabel.background = 'pink';
var shrinkHorizLabel = form.newLabel('Short', 10, 50, 100, 20);
shrinkHorizLabel.printSliding = SM_PRINT_SLIDING.SHRINK_WIDTH;
shrinkHorizLabel.background = 'green';
var moveHorizLeftLabel = form.newLabel('Move horizontal left', 100, 50, 150, 20);
moveHorizLeftLabel.printSliding = SM_PRINT_SLIDING.ALLOW_MOVE_X;
moveHorizLeftLabel.background = 'magenta';
forms['printForm'].controller.showPrintPreview();
|
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
ALLOW_MOVE_Y |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Constant to be used when specifiying the print sliding for components. The component will move vertically to align with its top neighbor, if that neighbor moves or increases/decreases its size. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var |
|
|
|
| growHorizLabelgrowVertLabel = form.newLabel('Grow |
|
|
|
| horizontal -- long text303020growHorizLabelgrowVertLabel.printSliding = SM_PRINT_SLIDING.GROW_ |
|
|
|
| WIDTHgrowHorizLabelgrowVertLabel.background = ' |
|
|
|
| bluemoveHorizRightLabelmoveVertDownLabel = form.newLabel('Move |
|
|
|
| horizontalright5030moveHorizRightLabelmoveVertDownLabel.printSliding = SM_PRINT_SLIDING.ALLOW_MOVE_ |
|
|
|
| XmoveHorizRightLabelmoveVertDownLabel.background = ' |
|
|
|
| pinkshrinkHorizLabelshrinkVertLabel = form.newLabel(' |
|
|
|
| Short5020shrinkHorizLabelshrinkVertLabel.printSliding = SM_PRINT_SLIDING.SHRINK_ |
|
|
|
| WIDTHshrinkHorizLabelshrinkVertLabel.background = ' |
|
|
|
| greenmoveHorizLeftLabelmoveVertUpLabel = form.newLabel('Move |
|
|
|
| horizontalleft10050150moveHorizLeftLabelmoveVertUpLabel.printSliding = SM_PRINT_SLIDING.ALLOW_MOVE_ |
|
|
|
| XmoveHorizLeftLabelmoveVertUpLabel.background = ' |
|
|
|
| magentapurple';
forms['printForm'].controller.showPrintPreview();
|
|
|
|
| {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=ALLOW_MOVE_Y|class=node}{tr:id=name}{td}h6.ALLOW_MOVE_Y{td}{tr}{tr:id=des}{td}{sub-section:ALLOW_MOVE_Y_des|text=|trigger=button}{sub-section}{sub-section:ALLOW_MOVE_Y_des|trigger=none|class=sIndent}Constant to be used when specifiying the print sliding for components.
The component will move vertically to align with its top neighbor,
if that neighbor moves or increases/decreases its size.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:ALLOW_MOVE_Y_snc|text=|trigger=button}{sub-section}{sub-section:ALLOW_MOVE_Y_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:ALLOW_MOVE_Y_prs|text=|trigger=button}{sub-section}{sub-section:ALLOW_MOVE_Y_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:ALLOW_MOVE_Y_ret|text=|trigger=button}{sub-section}{sub-section:ALLOW_MOVE_Y_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:ALLOW_MOVE_Y_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:ALLOW_MOVE_Y_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:ALLOW_MOVE_Y_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:ALLOW_MOVE_Y_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:ALLOW_MOVE_Y_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:ALLOW_MOVE_Y_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var growVertLabel = form.newLabel('Grow vertical', 10, 70, 100, 5);
growVertLabel.printSliding = SM_PRINT_SLIDING.GROW_HEIGHT;
growVertLabel.background = 'orange';
var moveVertDownLabel = form.newLabel('Move vertical down', 10, 75, 100, 20);
moveVertDownLabel.printSliding = SM_PRINT_SLIDING.ALLOW_MOVE_Y;
moveVertDownLabel.background = 'cyan';
var shrinkVertLabel = form.newLabel('Shrink vertical', 10, 110, 100, 40);
shrinkVertLabel.printSliding = SM_PRINT_SLIDING.SHRINK_HEIGHT;
shrinkVertLabel.background = 'yellow';
var moveVertUpLabel = form.newLabel('Move vertical up', 10, 160, 100, 20);
moveVertUpLabel.printSliding = SM_PRINT_SLIDING.ALLOW_MOVE_Y;
moveVertUpLabel.background = 'purple';
forms['printForm'].controller.showPrintPreview();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=GROW_HEIGHT|class=node}{tr:id=name}{td}h6.GROW_HEIGHT{td}{tr}{tr:id=des}{td}{sub-section:GROW_HEIGHT_des|text=|trigger=button}{sub-section}{sub-section:GROW_HEIGHT_des|trigger=none|class=sIndent}Constant to be used when specifiying the print sliding for components.
The component will increase its height to adapt its content, if
the content is too large.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:GROW_HEIGHT_snc|text=|trigger=button}{sub-section}{sub-section:GROW_HEIGHT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:GROW_HEIGHT_prs|text=|trigger=button}{sub-section}{sub-section:GROW_HEIGHT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:GROW_HEIGHT_ret|text=|trigger=button}{sub-section}{sub-section:GROW_HEIGHT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:GROW_HEIGHT_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:GROW_HEIGHT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:GROW_HEIGHT_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:GROW_HEIGHT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:GROW_HEIGHT_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:GROW_HEIGHT_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var growVertLabel = form.newLabel('Grow vertical', 10, 70, 100, 5);
growVertLabel.printSliding = SM_PRINT_SLIDING.GROW_HEIGHT;
growVertLabel.background = 'orange';
forms['printForm'].controller.showPrintPreview();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=GROW_WIDTH|class=node}{tr:id=name}{td}h6.GROW_WIDTH{td}{tr}{tr:id=des}{td}{sub-section:GROW_WIDTH_des|text=|trigger=button}{sub-section}{sub-section:GROW_WIDTH_des|trigger=none|class=sIndent}Constant to be used when specifiying the print sliding for components.
The component will increase its width to adapt its content, if the
content is too large.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:GROW_WIDTH_snc|text=|trigger=button}{sub-section}{sub-section:GROW_WIDTH_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:GROW_WIDTH_prs|text=|trigger=button}{sub-section}{sub-section:GROW_WIDTH_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:GROW_WIDTH_ret|text=|trigger=button}{sub-section}{sub-section:GROW_WIDTH_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:GROW_WIDTH_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:GROW_WIDTH_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:GROW_WIDTH_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:GROW_WIDTH_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:GROW_WIDTH_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:GROW_WIDTH_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var growHorizLabel = form.newLabel('Grow horizontal -- long text', 10, 30, 30, 20);
growHorizLabel.printSliding = SM_PRINT_SLIDING.GROW_WIDTH;
growHorizLabel.background = 'blue';
forms['printForm'].controller.showPrintPreview();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=NO_SLIDING|class=node}{tr:id=name}{td}h6.NO_SLIDING{td}{tr}{tr:id=des}{td}{sub-section:NO_SLIDING_des|text=|trigger=button}{sub-section}{sub-section:NO_SLIDING_des|trigger=none|class=sIndent}Constant to be used when specifiying the print sliding for components.
Makes the component not slide during printing. The component will
maintain its designtime location and size.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:NO_SLIDING_snc|text=|trigger=button}{sub-section}{sub-section:NO_SLIDING_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:NO_SLIDING_prs|text=|trigger=button}{sub-section}{sub-section:NO_SLIDING_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:NO_SLIDING_ret|text=|trigger=button}{sub-section}{sub-section:NO_SLIDING_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:NO_SLIDING_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:NO_SLIDING_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:NO_SLIDING_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:NO_SLIDING_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:NO_SLIDING_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:NO_SLIDING_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var noSlidingLabel = form.newLabel('No sliding -- long text', 10, 10, 30, 20);
noSlidingLabel.printSliding = SM_PRINT_SLIDING.NO_SLIDING;
noSlidingLabel.background = 'red';
forms['printForm'].controller.showPrintPreview();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SHRINK_HEIGHT|class=node}{tr:id=name}{td}h6.SHRINK_HEIGHT{td}{tr}{tr:id=des}{td}{sub-section:SHRINK_HEIGHT_des|text=|trigger=button}{sub-section}{sub-section:SHRINK_HEIGHT_des|trigger=none|class=sIndent}Constant to be used when specifiying the print sliding for components.
The component will decrease its height to adapt its content, if
the content is too small.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SHRINK_HEIGHT_snc|text=|trigger=button}{sub-section}{sub-section:SHRINK_HEIGHT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SHRINK_HEIGHT_prs|text=|trigger=button}{sub-section}{sub-section:SHRINK_HEIGHT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SHRINK_HEIGHT_ret|text=|trigger=button}{sub-section}{sub-section:SHRINK_HEIGHT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SHRINK_HEIGHT_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SHRINK_HEIGHT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SHRINK_HEIGHT_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SHRINK_HEIGHT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SHRINK_HEIGHT_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SHRINK_HEIGHT_sam|trigger=none}{code:language=javascript} Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
GROW_HEIGHT |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Constant to be used when specifiying the print sliding for components. The component will increase its height to adapt its content, if the content is too large. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var growVertLabel = form.newLabel('Grow vertical', 10, 70, 100, 5);
growVertLabel.printSliding = SM_PRINT_SLIDING.GROW_HEIGHT;
growVertLabel.background = 'orange';
forms['printForm'].controller.showPrintPreview();
|
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
GROW_WIDTH |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Constant to be used when specifiying the print sliding for components. The component will increase its width to adapt its content, if the content is too large. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var |
|
|
|
| shrinkVertLabelgrowHorizLabel = form.newLabel |
|
|
|
| ('Shrink vertical('Grow horizontal -- long text', 10, |
|
|
|
| 11010040shrinkVertLabelgrowHorizLabel.printSliding = SM_PRINT_SLIDING. |
|
|
|
| SHRINKHEIGHTshrinkVertLabelgrowHorizLabel.background = ' |
|
|
|
| yellowblue';
forms['printForm'].controller.showPrintPreview();
|
|
|
|
| {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SHRINK_WIDTH|class=node}{tr:id=name}{td}h6.SHRINK_WIDTH{td}{tr}{tr:id=des}{td}{sub-section:SHRINK_WIDTH_des|text=|trigger=button}{sub-section}{sub-section:SHRINK_WIDTH_des|trigger=none|class=sIndent}Constant to be used when specifiying the print sliding for components.
The component will decrease its width to adapt its content, if the
content is too small.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SHRINK_WIDTH_snc|text=|trigger=button}{sub-section}{sub-section:SHRINK_WIDTH_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SHRINK_WIDTH_prs|text=|trigger=button}{sub-section}{sub-section:SHRINK_WIDTH_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SHRINK_WIDTH_ret|text=|trigger=button}{sub-section}{sub-section:SHRINK_WIDTH_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SHRINK_WIDTH_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SHRINK_WIDTH_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SHRINK_WIDTH_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SHRINK_WIDTH_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SHRINK_WIDTH_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SHRINK_WIDTH_sam|trigger=none}{code:language=javascript} Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
NO_SLIDING |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Constant to be used when specifiying the print sliding for components. Makes the component not slide during printing. The component will maintain its designtime location and size. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var noSlidingLabel = form.newLabel('No sliding -- long text', 10, 10, 30, 20);
noSlidingLabel.printSliding = SM_PRINT_SLIDING.NO_SLIDING;
noSlidingLabel.background = 'red';
forms['printForm'].controller.showPrintPreview();
|
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
SHRINK_HEIGHT |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Constant to be used when specifiying the print sliding for components. The component will decrease its height to adapt its content, if the content is too small. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var shrinkVertLabel = form.newLabel('Shrink vertical', 10, 110, 100, 40);
shrinkVertLabel.printSliding = SM_PRINT_SLIDING.SHRINK_HEIGHT;
shrinkVertLabel.background = 'yellow';
forms['printForm'].controller.showPrintPreview();
|
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
SHRINK_WIDTH |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Constant to be used when specifiying the print sliding for components. The component will decrease its width to adapt its content, if the content is too small. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var shrinkHorizLabel = form.newLabel('Short', 10, 50, 100, 20);
shrinkHorizLabel.printSliding = SM_PRINT_SLIDING.SHRINK_WIDTH;
shrinkHorizLabel.background = 'green';
forms['printForm'].controller.showPrintPreview();
|
|
|
|
| {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table} |