hub.eb?material_id=342&track_id=343

Responsive Repeaters


A Repeater Control can be made responsive using the Bootstrap Grid system.

Apply the row class to the Repeater Control and the col-{bp}-{0|1|2|…|12} class to the Repeater Row Control.

Steps


1

Create a Form and add a Table called myTable.

Add a Before Form Script to the Form with the following code:

// insert 6 empty rows
for(var i = 0; i < 6; i++){
  tables.myTable.insertRow();
}

 

2

Add a Repeater Control using myTable.

Set the layout property of the Repeater Control to none and add the class row.

3

Add all of the following Bootstrap column classes to the Repeater Row Control: col-12, col-sm-6, col-md-4, col-lg

4

Add a Panel Control to the Repeater Row Control with class bg-dark.

5

Run the Form and observe the behaviour at different screen sizes.

Current Module

Part of tracks

Related