Skip to content

ember-headless-table@1.4.1

Choose a tag to compare

@github-actions github-actions released this 27 Jan 19:12
2ea16c7

Patch Changes

  • #121 2175782 Thanks @NullVoxPopuli! - Add new util for the resizing plugin to help styles cells in non-header rows in non-tables (such as grids).

    To use it,

    import { styleStringFor } from 'ember-headless-table/plugins/column-resizing';
    
    // ...
    
    // rows.gjs
    <template>
      {{#each @table.rows as |row|}}
        <div role="row">
          {{#each @table.columns as |column|}}
            <div role="cell" style={{styleStringFor column}}>{{column.getValueForRow row}}</div>
          {{/each}}
        </div>
      {{/each}}
    </template>