IsaacBlanco
09-13-2024Cloud Apps
Use of 'beforeRender' inside Table?
Hi, I'm using the CSDK on Angular 18 to run my micro-analytics components, I'm trying to replicate a table that I have on a dashboard using the Table component, but I need to make some customization ...
- 09-18-2024
Hi IsaacBlanco,
`onBeforeRender` is not supported for Table. It is only supported for charts based on the Highcharts library. However, when configuring table columns in Table data options, you can use `StyledColumn`, which supports `isHtml` flag: https://sisense.dev/guides/sdk/modules/sdk-ui/interfaces/interface.StyledColumn.html#ishtml
Below is an example code snippet for reference:<Chart
chartType="table"
dataSet={DM.DataSource}
dataOptions={{ columns: [{ column: DM.Category.Category, isHtml: true }] }}
/>