MDBDataTable sorting with jsx


Topic: MDBDataTable sorting with jsx

Fardin Djawid asked 5 years ago

Expected behavior I want to sort on searchvalue(it's possible to click on row value like 448) with the column name publicationId(publicatie nummer in table).

Actual behavior when i use sorting for that specific column with searchvalue isn't working.

*Note that publicatie naam(publicationName) is sortable because it's a value and not jsx with searchvalue

Resources (screenshots, code snippets etc.) enter image description here

![enter image description here][2]enter image description here


Konrad Stępień staff answered 5 years ago

Hi @Fardin Djawid,

Here is simillar problem.

Probably you don't use sortRows={['publisherId']} property in MDBDataTable component.

Please check this issue and tell me if you still have problems.

Best regards, Konrad.


Fardin Djawid commented 5 years ago

Hi Konrad,

It worked ,thanks!

best regards, Fardin


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.22.1
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No