Closed
Description
Follow up issue for #21664
My original issue was resolved with the following comment.
You can use class file (.cs) to inherit from the abstract component class and that way you'll control exactly what you override.
However, I use Razor RenderFragments in the overriden class
eg.
public override void SetupColumns()
{
this[nameof(OrganizationQueryModel.Id)].RazorTemplate = (OrganizationQueryModel context) =>
@<div>
<img class="img-thumbnail circle thumb96 d-inline-block m-0" src="@(LinkGenerator.GetPathByAction<OrganizationController>(x=>x.Picture(context.Id)))" />
</div>;
}