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: Type MdbTableDirective is not assignable to type MdbTableSortDirective

diegomoreno_2000 pro asked 1 year ago


I have this code:

<table
          class="table datatable-table"
          mdbTable
          mdbTableSort
          #table="mdbTable"
          #sort="mdbTableSort"
          [dataSource]="tiposBaja"
          [pagination]="pagination"
          [sort]="sort"
        >

And I have this error in [sort]="sort"

Type MdbTableDirective is not assignable to type MdbTableSortDirective


Arkadiusz Idzikowski staff commented 1 year ago

Do you use v4.0.0? The code you used looks correct, can you try to restart your code editor? Maybe you used a different configuration before and there is a problem with the cache.



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: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: MDB5 4.0.0
  • Device: Laptop
  • Browser: Chrome, Brave, Opera
  • OS: Windows
  • Provided sample code: No
  • Provided link: No