#104064

Hi,

Could you, please try setting the dataSource after sorting the table?

const table = document.getElementById(‘table’);
table.sortBy(‘Country’, ‘asc’);
table.dataSource = ……

Hope this helps and we are waiting for your feedback!

Best Regards,
Svetoslav Borislavov

Smart UI Team
https://www.htmlelements.com/