Change Role

Description:

Change Role

Change Role is used to query the data based on selected role. e.g. if we have the different data for two different countries with same pages and datasources the data will be rendered based on role.

Allowed Parent Components:

  1. Card Body

  2. Card Header

  3. Card Table Column

  4. Col

  5. Form

  6. Tab Item

Allowed Child Components:

  1. Popover

  2. Pulse

  3. Trigger Before Render

  4. Trigger On Change

Properties

➤ Color

Select a color or enter the custom class to set the color of the button.

Allowed Values: Select a color or enter the custom class to set the color of the button.

➤ Tool Tip

A message which appears when a cursor is positioned over.

Allowed Values: An expression which should return string after evaluation

➤ Tool Tip Position

Select an option to change the placement of the tooltip when appears.

Allowed Values:

  1. left

  2. right

  3. top

  4. bottom

➤ Icon

Use the icons to display images to represent the component

Allowed Values: Icon List

➤ Block

Check this to get the content in a new row with 100% width.

Allowed Values: Yes/No

➤ Button Size

Select an option to change the size of the button.

Allowed Values:

  1. Small

  2. Default

  3. Large

➤ On Role Change

Allowed Values: Controller Function

➤ Margin

Select a value to add margin on all four sides of the component. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.

Allowed Values: Any number value

➤ Margin Bottom

Select a value to add margin on the bottom of the component.

Allowed Values: Any number value

➤ Margin Left

Select a value to add margin on the left of the component.

Allowed Values: Any number value

➤ Margin Right

Select a value to add margin on the right of the component.

Allowed Values: Any number value

➤ Margin Top

Select a value to add margin on the top of the component.

Allowed Values: Any number value

➤ Padding

Select a value to add padding on all four sides of the component. It is a shorthand for padding-top, padding-right, padding-bottom, and padding-left.

Allowed Values: Any number value

➤ Padding Bottom

Select a value to add padding in the bottom of the component.

Allowed Values: Any number value

➤ Padding Left

Select a value to add padding in the left of the component.

Allowed Values: Any number value

➤ Padding Right

Select a value to add padding in right of the component.

Allowed Values: Any number value

➤ Padding Top

Select a value to add padding in top of the component.

Allowed Values: Any number value

Last updated