Sha256: cdc92aefe2a908f96957fd0dde9d11e49b6b33f074dda47386a54f1a9f16f68b

Contents?: true

Size: 569 Bytes

Versions: 5

Compression:

Stored size: 569 Bytes

Contents

:css
  table.my-grid {
    border: 1px solid red;
  }
  table.my-grid tr.my-header {
    background-color: #ebebeb;
  }

.card.bg-light
  .card-body
    %h2= current_page_title
    %p
      It is possible to override the default ordering by specifying Arel objects. "Status Name" in the first table is done
      by the length of the status name. Ordering "Status Name" in the second table is actually replaced by ordering
      by column.

= show_code

.row
  .col-md-6
    = render   'grid', grid: @status_grid1
  .col-md-6
    = render   'grid', grid: @status_grid2

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wice_grid-7.1.4 spec/support/test_app/app/views/custom_ordering_with_arel/index.html.haml
wice_grid-7.1.3 spec/support/test_app/app/views/custom_ordering_with_arel/index.html.haml
wice_grid-7.1.2 spec/support/test_app/app/views/custom_ordering_with_arel/index.html.haml
wice_grid-7.1.1 spec/support/test_app/app/views/custom_ordering_with_arel/index.html.haml
wice_grid-7.1.0 spec/support/test_app/app/views/custom_ordering_with_arel/index.html.haml