KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Create Badges #3068

Open Tobi opened this topic on on Jun 5, 2023 - 1 comments

Tobi commented on Jun 5, 2023

Hi,

Will badges only work in the dashboard? I am trying to get this to work in datatables. Any leads on how to achieve this?

Sebastian Morales commented on Jun 6, 2023

You can copy the badge's html format and use DataTables' column "formatValue" property to format its value using the badge's html one:

https://www.koolreport.com/docs/datagrid/datatables/#format-column-value

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None