JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Table › Initial Sort › Reply To: Initial Sort
December 5, 2022 at 6:12 pm
#104068
Keymaster
Hi Perdo,
Depending on the detail.action param of the virtualDataSource function, the user may choose whether or not to make a server call. In the case of our demo, the function is called twice and it is our mistake in the demo that we make two server calls. The first call is made when “detail.action” is “dataBind” and the second one is made when it is undefined. We need to add If-conditions, before the “new window.Smart.Ajax({” function call.
Regards,
Boyko
Smart UI Team
https://www.htmlelements.com/