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: datatable :maxheight invalid expression

Ariel van Zyl free asked 5 years ago


**Expected behavior**tbody maximum height set to 200px**Actual behavior**compile error. invalid expression: invalid or unexpected token in 200px, raw expression: :maxheight="200px"**Resources (screenshots, code snippets etc.)**

sample code

compile error


Mikołaj Smoleński staff answered 5 years ago


MaxHeight has to be a string. Please remove the colon from this props an it will work.

Best regards



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

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 5.8.2
  • Device: pc
  • Browser: firefox, chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No