What's new in Customer Journeys?

Connect and learn more!
How to select all boolean check boxes in a Table? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to select all boolean check boxes in a Table?

Received Response
edited Oct 16, 2020 5:55PM in Visual Builder 4 comments


I need to create a checkbox where the title Select All is placed, how can I do that and make it mark the entire table that is associated?



I have a table with some checkboxs with an event attached to it....

I need to implement a "master checkbox" (instead of the title "Select All" on attachment) to mark all the boxes, how can I do that?

Also, will I get to the checkbox implementation... the on select event at the rows will be started?

Code Snippet

<oj-table scroll-policy="loadMoreOnScroll" data="[[ $variables.omniorderPickupOrdersADP ]]" columns='[{"headerText":"Select All","template":"cellTemplate","field":"isSelectedOrder"},{"headerText":"displayCode","field":"displayCode"},{"headerText":"dtImplantacao","field":"dtImplantacao"},{"headerText":"numItems","field":"numItems"}]' class="oj-flex-item oj-sm-12 oj-md-5">
    <template slot="cellTemplate">
      <oj-ext-checkbox-switch value="{{ $current.row.isSelectedOrder }}" on-click=[[$listeners.ojExtCheckboxSwitchClick]]"> 

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!