Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
selectionCheckbox: true,
selectMany: true,
sort: true,
valueAccessor: (entity: object, name: string) => {
return getEntityProperty(entity, name);
},
columns: [
{
name: 'selected',
title: 'Selected',
valueAccessor: (entity: object) => {
return this.store.state.get(entity).selected
? 'radiobox-marked'
: 'radiobox-blank';
},
renderer: EntityTableColumnRenderer.Icon
},
{
name: 'id',
title: 'ID'
},
{
name: 'name',
title: 'Name'
},
{
name: 'description',
title: 'Description',
renderer: EntityTableColumnRenderer.HTML
},
{
name: 'action',