Hi,
i'm trying to build a PCF for data grid, when i click on specific record of row at local environment it gives me this error alert
Your control is trying to open a form. This is not yet supported
and after deploying to Model driven app it neither open the record nor shows any error.
here is my click event code in index.ts
let rowRecordId = (event.currentTarget as HTMLTableRowElement).getAttribute(RowRecordId);
if (rowRecordId) {
let entityReference = this.contextObj.parameters.simpleTableGrid.records[rowRecordId].getNamedReference();
let entityFormOptions = {
entityName: entityReference.etn!,
entityId: entityReference.id.guid,
}
this.contextObj.navigation.openForm(entityFormOptions);
}
Thanks in advance.