Sha256: 4e9f774f6fc8b8f81efa314be317d01c87b4273aee552ff8c5bf6fecada18312

Contents?: true

Size: 1.13 KB

Versions: 59

Compression:

Stored size: 1.13 KB

Contents

<%= pb_content_tag do %>
        <%= pb_rails("table/table_row", props: { tag: "div" }) do %>
            <% object.column_definitions.each_with_index do |item, index| %>
                <%= pb_rails("table/table_header", props: { tag: "div", id: item[:accessor], classname: object.th_classname, sort_menu: item[:sort_menu] }) do %>
                    <%= pb_rails("flex", props:{ align: "center", justify: index.zero? ? "start" : "end", text_align: "end" }) do %>
                        <% if index.zero? && (object.enable_toggle_expansion == "header" || object.enable_toggle_expansion == "all") %>
                            <button
                              class="gray-icon toggle-all-icon"
                              onclick="expandAllRows(this); event.preventDefault();">
                              <%= pb_rails("icon", props: { icon: "arrows-from-line", cursor: "pointer", fixed_width: true, padding_right: "xs" }) %>
                            </button>
                        <% end %>
                        <%= item[:label] %>
                    <% end %>
                <% end %>
            <% end %>
        <% end %>
<% end %>

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5214 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5213 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5210 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5208 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5207 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.alpha.play16825206 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5204 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5201 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.11.0.pre.rc.9 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5200 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.11.0.pre.rc.8 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.11.0.pre.rc.7 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.11.0.pre.rc.6 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.11.0.pre.rc.5 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5193 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.11.0.pre.rc.4 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.11.0.pre.rc.3 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.alpha.PBNTR662stickyrightcolumnreact5160 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.11.0.pre.rc.2 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.11.0.pre.rc.1 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb