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 to the Table itself like rendering some columns like an HTML to load images.
Checking the docs I don't see any documentation about the use of "beforeRender" but inside the Chart component that allows the use of the 'table' type, it allows it, I wonder if is possible to use it or there is an alternative for my use case?
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 }] }}
/>