Sort Data Grid

I have a data grid linked to a sql server source, how can I set a sort order ? ie when I open the page the datagrid is sorted by company name.



Hi Kevin,

When you bind the DataGrid using Radzen new data-source dialog you will have two data-source method calls: one in page load event to load the data initially and one in DataGrid loadData event to handle all grid operations like sorting, paging and filtering.

If you want to change the initial sort order of the DataGrid you can add new $orderby parameter for the data-source method invoke in page load event:

Best Regards,

Thank you for the detailed instructions.