Hi Antonio,
Thanks for using Syncfusion product.
You can able to programmatically sort the multiple columns by using the SortColumnDescriptions property in SfDataGrid. Please find the code snippet below to sort the two columns programmatically,
this.sfDataGrid.SortColumnDescriptions.Add(new SortColumnDescription(){ ColumnName = "OrderID" });
this.sfDataGrid.SortColumnDescriptions.Add(new SortColumnDescription() { ColumnName = "CustomerID" });
|
Let us know whether this helps also if you need any further assistance on this.
Regards,
Jagadeesan