Sha256: f33391ec91a1c14164228c7b558821da32ce4ece9974ffcafdedbe9fe9ae2c8c

Contents?: true

Size: 1.05 KB

Versions: 148

Compression:

Stored size: 1.05 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)">
                                <%= 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

148 entries across 148 versions & 1 rubygems

Version Path
playbook_ui-14.10.0.pre.rc.8 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.rc.7 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.rc.6 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.rc.5 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.rc.4 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.9.0.pre.alpha.PLAY16264818 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.9.0.pre.alpha.PBNTR702stickyleftcolrails4806 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.rc.3 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.rc.2 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.9.0.pre.alpha.play1742globalheightfixes4766 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.rc.1 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.9.0.pre.alpha.PBNTR686advancedtablepaginationpoc4747 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.9.0.pre.alpha.pbntr700newresettodefaultprop4736 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.10.0.pre.rc.0 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.9.0 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.9.0.pre.rc.18 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.9.0.pre.rc.17 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.9.0.pre.rc.16 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.9.0.pre.rc.15 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb
playbook_ui-14.9.0.pre.rc.14 app/pb_kits/playbook/pb_advanced_table/table_header.html.erb