$fmtr = new Column\Formatter\Link();
$fmtr->setAttribute('class', 'pencil-edit');
$fmtr->setLink('/spares-ras/products/' . $fmtr->getColumnValuePlaceholder($colId));
$action = new Column\Action('edit');
$action->setLabel(' ');
$action->setTranslationEnabled();
$action->setFormatters([$fmtr]);
$grid->addColumn($action);
but on #L211-L220 my value overwrite with empty value because I don't add any action through $action->addAction();.
This can be fixed if add if statement something like this
I try add formatter to custom column Action
but on #L211-L220 my value overwrite with empty value because I don't add any action through
$action->addAction();
. This can be fixed if addif
statement something like this