#ember-table

1 messages · Page 1 of 1 (latest)

shut berry
#

<EmberTable as |t|>
<t.head @columns={{this.columns}} />
<t.body @rows={{this.rows}} />
</EmberTable>

import Component from '@glimmer/component';

export default class NestedTable extends Component {
columns = [
{
name: First Name,
valuePath: firstName
},
{
name: Last Name,
valuePath: lastName
}
];

rows = [
    {
        firstName: 'Tony',
        lastName: 'Stark',
    },
    {
        firstName: 'Tom',
        lastName: 'Dale',
    }
];

}
Done everything right but still getting this error for ember-table(addepar)

outer stone
#

I think you will need to define @ember/string in one of your deps/devDeps.

#

You might also find out that you need to pin it to ^3.1.1

shut berry
#

after pinning it to 3.1.1 it worked

#

👍

outer stone
#

I wish for this set of problems to go away. Nobody wants to have to do this.

shut berry
#

I also wanted to know can we make nested tables in ember table

outer stone
#

I'd post it as separate question

shut berry
#

not able to find ,whats is text of the question

outer stone