We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

sort order of multicolumn combo

Hi, I have a 3 column combo box cell in a GridHierDataBoundGrid. What code can I use to set the sort order to desc on a certain column? Thanks, CB

1 Reply

AD Administrator Syncfusion Team January 29, 2004 09:44 PM UTC

If you have a dataTable1 as a the datasource for your combombox, you can sort it on a particular column, say "colB", by setting: dataTable1.DefaultView.Sort = "colB Desc";

Live Chat Icon For mobile
Up arrow icon