Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: mdbdatatables : error with header sort cursor when sort:false

cariforef free asked 2 years ago


Hello,

when I set my columns with a sort:false, I get this warning : Warning: Prop style did not match. Server: "null" Client: "cursor:"

const data = {
columns: [
  { label: "", field: "plus", sort: false },
  { label: "Intitulé", field: "intitule" },
  { label: "Type", field: "besoins" },
  { label: "Public", field: "publics" },
  { label: "Financeurs", field: "financeurs" },
],
rows: rows,

}; I think it is an issue with the react-hydration that is not loaded, but I don't know why.

Thanks. Didier


Jacek Roszak pro commented 2 years ago

Hi, I could not recreate the problem, please provide a snippet of where the problem occurs.



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

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 5.0.0
  • Device: MAC
  • Browser: Chrome
  • OS: Mac OSX 15
  • Provided sample code: Yes
  • Provided link: No