Sha256: bbc0b8e55eb8395c6ce726052a4ba264a9dcdcf5829bfcd37f28b4ed86b4f193

Contents?: true

Size: 615 Bytes

Versions: 12

Compression:

Stored size: 615 Bytes

Contents

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


.well
  %h2= current_page_title
  %p
    It is possible to support ordering on calculated fields with custom_sort. When using this method you must specify
    an (arbitrary) attribute name, which is used as a query parameter.
  %p
    Note that this method requires loading every result of the query into memory and running the Proc on each, so is
    unsuitable for a large number of results or expensive calculations.

= show_code

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

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
wice_grid-6.1.3 spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml
wice_grid-6.1.2 spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml
wice_grid-6.1.1 spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml
wice_grid-6.1.0 spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml
pwice_grid-7.0.0 spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml
pwice_grid-6.1.2 spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml
pwice_grid-6.1.1 spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml
pwice_grid-6.1.0 spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml
pwice_grid-5.0.2 spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml
pwice_grid-5.0.1 spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml
pwice_grid-5.0.0 spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml
wice_grid-4.1.0 spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml