mdbTable does not sort when using properties including capit


Topic: mdbTable does not sort when using properties including capital characters.

The mdbTable does not sort when using properties including capital characters. It seems to be the same issue as this topic.

When debugging, there is a function which force the current property to be lower case. Which cause the sort function to break.

function () {
    this.sortDataBy(this.trimWhiteSigns(this.sortBy.toString().toLowerCase()));
};

Are there any solution for this?


Damian Gemza staff answered a year ago

Dear Peter,

Could you please provide me with the code of your table - the .html markup and the .ts login (i need also the data structure).

I would like to debug your problem.

Best Regards,

Damian


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: Angular
  • MDB Version: 7.4.2
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes