We have a ellipsis menu at the end of each row and we are using widgets. Is it possible to have a rendered within widgets? When we tried it, the text does not display. Ultimate, we need to enable/disable menu items based on a condition so we need to read the row data in the rendered. Here is an example:
widgets: [{
type: 'button',
icon: 'b-fa b-fa-fw b-fa-ellipsis-v',
menu: {
type: 'menu',
anchor: true,
autoShow: false,
items: [
{
icon: 'fa fa-fw fa-file-signature',
// text: 'View Responses',
// IS THIS POSSIBLE?
renderer: ({ record, widgets}) => {
return 'View Responses';
}
},
{
icon: 'fa fa-fw fa-times-circle',
text: 'Clear Consent'
},