Addepar / Addepar/ember-table

Keeping the table header fixed inside a DIV panel

Open
#589 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
351
Avg merge
1d 22h
Merged PRs (30d)
1

Description

Hi Chris:

How do you implement the fixed position of a header when you convert the ember-table call into a handlebars block? Most of the code example you have is using the native ember-table format.
Also, how do you handle keeping the table header in place inside of a scrollable DIV panel

{{#ember-table as |table|}}
{{#table.head columns=model.columns as |thead|}}
{{#thead.row class='table-header-row' as |header-row|}}
{{#header-row.cell class='table-header-cell' as |header-cell|}}
{{#component header-cell.component}}
{{header-cell.name}}
{{/component}}
{{/header-row.cell}}
{{/thead.row}}
{{/table.head}}
{{table.body rows=model.rows class='table-body-row'}}
{{/ember-table}}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the ember-table block form shown in the issue and how its head and body are placed within a scrollable DIV panel. Determine the supported approach for keeping the header fixed while using the block syntax; done means the header remains visible as the table body scrolls.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.