Topic: DataTable V5 Html sorting

ZebraK free asked 2 years ago


Hello, there is posible to sort column with html data?

For example, if i have row like that:

{name: 'John', age: '<div>23</div>'}

column name is sorting, but description is not sorting.

Maybe, am I able to determine the column value for sorting?


Piotr Glejzer staff commented 2 years ago

Hi,

I think is not possible to do that. We have an example with sorting components but we don't have what you probably need.

https://mdbootstrap.com/docs/react/tables/datatables/#with-soriting-component



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.27.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No