Subform

313 views

Magic xpa [ Subform ] Control ( [ Rooter outlet ] The program/subtask defined in the Magic xpa side control by assigning the property 「 False」 ) is displayed.

When you place a component, the following code is defined by default.

< div data-comp-id=”subform.1″ id=”subform.1″>

    <magic-subform > </magic-subform >

</div>

 

Property
Content
Data
Specifies the [ subform ] control defined by the Magic program.
Click the gear button to display a list of items.

From here you can select [ subform ] controls.
Is Visible
Specifies whether to display the control.
You can specify the following values.

  • visible …… display
  • hidden …… hidden
  • collapse …… Pack rows and columns in the table
  • inherit …… inherits parent element setting

Click the gear button to see a list of Angular functions.
You can specify and define functions from here.

If you want to enter directly, enclose it in a quota (“).

Often set the getVisible function like mg.getVisible (mgc.V_XXXXXXXXX) and associate it with Magic’s visibility

Display If
Specifies whether to create controls.
You can also specify it by a formula that returns a logical value.
Click the gear button to see a list of Angular functions.

You can specify and define functions from here.

If you want to enter directly, enclose it in a quota (“).

DisplayIf created a tag while Is Visible was visible, hidden ” ” · ” No ”
It will be true or false.

If you write mg.getValue (mgc.V_XXXXXXXXX) = =1234 as an example, you will create 1234, and otherwise.

Often combined with the isDisabled function as in mg.isDisabled (mgc.XXXXXXXXXX) for Magic.
Alignment
Specifies how to align the display in the subform.
You can choose from the following.

  • Default
  • Left …… Left
  • Right ……
  • Center ……
  • Justify …… Evening
Text Wrap
Specifies whether to fold the text display in the subform.
You can choose from the following.

  • Normal …… Initial value
  • Break Word …… Line breaks even in the middle of words
  • Initial …… Return to an initial value
  • Inherit …… inherits parent element properties
Text Transformation
Specifies how to convert text in subforms.
You can choose from the following.

  • Default …… does not convert.
  • Uppercase …… Converts to uppercase.
  • Lowercase …… Converts to lowercase.
  • Capitalize …… Converts only the first character to uppercase.
Share this Article

Subform

Or copy link

CONTENTS