Method: Playbook::PbAdvancedTable::TableHeader#render_select_all_checkbox
- Defined in:
- app/pb_kits/playbook/pb_advanced_table/table_header.rb
#render_select_all_checkbox ⇒ Object
Selectable Rows w/ Subrows - checkboxes part of toggleable first cell
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'app/pb_kits/playbook/pb_advanced_table/table_header.rb', line 71 def render_select_all_checkbox if selectable_rows pb_rails("checkbox", props: { id: "#{table_id ? "#{table_id}-" : ''}select-all-rows", indeterminate_main: true, indeterminate_main_labels: ["", ""], name: "#{table_id ? "#{table_id}-" : ''}select-all-rows", data: { action: "click->pb-advanced-table#toggleAllRowSelection", }, }) end end |