I have added a column "frontend_label" in Collection.php:
protected function _initSelect()
{
parent::_initSelect();
$this->getSelect()->joinLeft(
['secondTable' => $this->getTable('eav_attribute')],
'main_table.attribute_id = secondTable.attribute_id',
['frontend_label']
);
}
In the form grid I have added a column:
<column name="frontend_label">
<settings>
<filter>text</filter>
<label translate="true">Attribute</label>
</settings>
</column>
but it's not displaying the value from join table.
Do you have any suggestions?