DataTable sortMode="multiple" Crashes App

UI Components for React
Post Reply
abelay
Posts: 1
Joined: 16 Mar 2022, 17:15

16 Mar 2022, 17:26

When I set sortMode to "multiple" on my DataTable, my app crashes.

In datatable.esm.js, the following function is called...

Code: Select all

ObjectUtils.resolveFieldData(data1, multiSortMeta[index].field)
However, multiSortMeta is an empty array and index is set to 0. So multiSortMeta[index].field is trying to access a property that doesn't exist.

Any help would be greatly appreciated. Thanks.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests