Skip to content

how to use expandable rows #461

Description

@aaronucsd

Sorry not an issue but i can not find a good way to leverage this expandable row locally.

https://onechiporenko.github.io/ember-models-table/v.2/#/examples/expandable-rows

I tried everything. I set expandedRowComponent to my custom row component. That shows up.
I'm have expandedItems equals to an empty []. It's not clear to me what to set for themeInstance or if that's optional. I can not get the expandable icons columns to show up like in the example.

        @columns={{expandedItemsTable.columns}}
        @data={{expandedItemsTable.data}}
        @pageSize={{4}}
        @enableRowSelection={{true}}

        {{!-- @themeInstance={{this.DefaultTheme}} --}}
        @expandedRowComponent={{component "rows/expanded-row"}}
        @multipleExpand={{true}}
        @expandedItems={{this.expandedItems}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions