Hi,
I was just wondering if I specify a component - how can I include custom props?
so this to ```
{
id: 'modifiedBy',
header: 'Modified By',
footer: 'Modified By',
width: 130,
resize: true,
cell: LookupOptionRender
},
Hi,
I was just wondering if I specify a component - how can I include custom props?
so something like... ```
{
id: 'modifiedBy',
header: 'Modified By',
footer: 'Modified By',
width: 130,
resize: true,
cell: LookupOptionRender({user})
},
or I tried to do this to with no luck...
{
id: 'modifiedBy',
header: 'Modified By',
footer: 'Modified By',
width: 130,
resize: true,
cell: (row, column)=> {user.find(o.userId = row[column.id]
)}
},