This message was deleted.
# extensions
a
This message was deleted.
d
@busy-ability-54059 @billions-vase-14972 can you please help me?
b
Using a formatter on a custom type involves a few different configurations. Depending on where you're planning on showing the formatter within a ResourceTable/SortableTable, you will need to configure the type's headers within your product configuration. For example, in Kubewarden: • The PolicyServer type has custom Headers added to the configuration • Within those headers I'm declaring a formatter for the name column `PolicyServerDeployment` ◦ The
value
is set to
nameDisplay
, this value will be sent as a prop to the PolicyServerDeployment formatter • The formatter has a few props available, namely
row
and
value
, this will allow you to manipulate that data as you see fit. So in your case, you can configure the
security.kubearmor.com.kubearmorclusterpolicy
to have custom headers, which set a formatter. You can pass any value from the resource, e.g.
spec.selector.matchExpressions
. Within your formatter, you can display that value however you see fit.
d
Thank you @billions-vase-14972 I was finally able to fix this with your help. As always you are the best🤩
🎉 1