cancel
Showing results for 
Search instead for 
Did you mean: 

how to display UI elemnts in a row

Former Member
0 Kudos

Hi All,

i have added a check box by group in my rootuielementcointainer. I want to add a label against each check box. can any one suggest me on how to do my above rerquirement. Or can i add the labels in a group and keep the group to the right side of checkboxes, if so please tell me how to do so.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

For a checkboxgroup UI element, you must bind the 'texts' property to a context attribute. The value of this attribute is what the UI control will use for the label.

To be clear, that value is NOT the 'checked' value for the individual checkboxes in the group. The 'checked' value is indicated by the node element's 'selected' status.

See Node method 'GET_SELECTED_ELEMENTS( )'.

Former Member
0 Kudos

Hi thanks for u r reply. i am able to display the value for each check boxes there i have no problem but my issue is i want to keep a lable aside to my check box can u help me on this issue please.

Former Member
0 Kudos

What is the layout you use ? Using flow layout should be in your case okay or row layout 9define number of columns ).

former_member463524
Contributor
0 Kudos

Hi,

For achieving use one check box and label,

1. place check box which should not have text then place a label with have the text

for check box.

2. put these in a container which is of layout Matrix.

3. check box as Matrix Head data , label as Matrix data

4. In label properties you will be getting vgutter as the property use large or medium which ever suits you.

Regards,

Meera

Answers (0)