Addepar / Addepar/ember-table

Expand row to display custom component

Open
#556 3 comments 2 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

I'm not sure this is possible with your current api.

Imagine expanding a row to display a graph of the row values instead of the rowValue.children. For example:

<t.body @rows={{rows}} as |b|>
    <b.row as |r|>
      <r.cell>
      {{#if r.hasGraph}}
        <#r.expanded>
          <my-graph data=r.rowValue/>
        </r.expanded>
      {{/if}}
    </b.row>
  </t.body>

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 ember-table's current row expansion API and the example in this issue. Determine whether an expanded row can render a caller-provided component using the row value, and define the API behavior needed for the graph example. Done means the documented usage can display a custom component instead of rowValue.children.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.