Expand row to display custom component
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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