JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Table › Initial Sort › Reply To: Initial Sort
December 5, 2022 at 1:09 pm
#104064
svetoslav_borislavov
Participant
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/