ember-headless-table icon indicating copy to clipboard operation
ember-headless-table copied to clipboard

sticky / pinnable columns demo uses the column header modifier on cells -- seems off

Open NullVoxPopuli opened this issue 3 years ago • 1 comments

this is the code at the time of reporting:

 {{#each this.table.rows as |row|}}
        <tr class="relative">
          {{#each this.table.columns as |column|}}
            <td
              {{this.table.modifiers.columnHeader column}}
              class="{{if (this.isSticky column) 'bg-basement' 'bg-ground-floor'}}"
            >

using the columnHeader modifier seems wrong. In the mean time, I can do what I need to with the isSticky helper, but should there be a cell modifier for this situation?

NullVoxPopuli avatar Nov 16 '22 23:11 NullVoxPopuli

semi resolved in #94 -- long term fix requires "cell modifiers" which, for performance, is blocked by emberjs/rfcs#883

NullVoxPopuli avatar Dec 30 '22 21:12 NullVoxPopuli