To display a blank or empty string value in the custom webpart table when the person/group column is null or empty, you can modify the condition in the table cell as follows:
<td>Compliance Delegate</td>
<td>${item.RC_Owner.Title ? item.RC_Owner.Title : ""}</td>
In the above code, if the RC_Owner
column has a value, it will display the Title
property of the RC_Owner
object. If the RC_Owner
column is null or empty, it will display an empty string.
References: