diff --git a/packages/libs/coreui/src/components/Mesa/Ui/HeadingCell.jsx b/packages/libs/coreui/src/components/Mesa/Ui/HeadingCell.jsx index 1062e52a61..633998d30a 100644 --- a/packages/libs/coreui/src/components/Mesa/Ui/HeadingCell.jsx +++ b/packages/libs/coreui/src/components/Mesa/Ui/HeadingCell.jsx @@ -184,12 +184,13 @@ class HeadingCell extends React.PureComponent { const { top, left, height } = offset ? offset : {}; const position = { top: top + height, left }; - if (!column.helpText) return null; + if (!column.helpText && !column.htmlHelp) return null; return ( diff --git a/packages/libs/wdk-client/src/Service/Decoders/RecordClassDecoders.ts b/packages/libs/wdk-client/src/Service/Decoders/RecordClassDecoders.ts index 40d596ddae..572b8d1e38 100644 --- a/packages/libs/wdk-client/src/Service/Decoders/RecordClassDecoders.ts +++ b/packages/libs/wdk-client/src/Service/Decoders/RecordClassDecoders.ts @@ -32,6 +32,7 @@ export const attributeFieldDecoder: Decode.Decoder = Decode.combine( namedModelEntityDecoder, Decode.field('help', Decode.optional(Decode.string)), + Decode.field('htmlHelp', Decode.optional(Decode.string)), Decode.field('align', Decode.optional(Decode.string)), Decode.field('isSortable', Decode.boolean), Decode.field('isRemovable', Decode.boolean), diff --git a/packages/libs/wdk-client/src/Utils/WdkModel.ts b/packages/libs/wdk-client/src/Utils/WdkModel.ts index 47316f6268..4d04d0454f 100644 --- a/packages/libs/wdk-client/src/Utils/WdkModel.ts +++ b/packages/libs/wdk-client/src/Utils/WdkModel.ts @@ -311,6 +311,7 @@ export type ParamUIState = export interface AttributeField extends NamedModelEntity { help?: string; + htmlHelp?: string; align?: string; isSortable: boolean; isRemovable: boolean; diff --git a/packages/libs/wdk-client/src/Views/ResultTableSummaryView/ResultTable.tsx b/packages/libs/wdk-client/src/Views/ResultTableSummaryView/ResultTable.tsx index 4547334da7..53999cd4af 100644 --- a/packages/libs/wdk-client/src/Views/ResultTableSummaryView/ResultTable.tsx +++ b/packages/libs/wdk-client/src/Views/ResultTableSummaryView/ResultTable.tsx @@ -339,6 +339,7 @@ function getColumns({ attribute.name !== recordClass.recordIdAttributeName && attribute.isRemovable, helpText: attribute.help, + htmlHelp: attribute.htmlHelp, name: attribute.displayName, renderCell: ({ row, key }: { row: RecordInstance; key: string }) => key === recordClass.recordIdAttributeName ? (