Topic: Adding data table icon column using jquery or javascript

elmajed2007 free asked 3 years ago

I expect to be able to define column type as Icon based on condition (true or false) and customize columns cells style.

How to achieve that?

check snippet check column status i want to display true and false marks


Marcin Luczak staff answered 3 years ago


If you want to use icons inside the Datatable component you can customize it the same as it is shown in this documentation example.

Keep coding, Marcin

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: MDB4 4.19.2
  • Device: computer
  • Browser: crome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: Yes