Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
Default Sorting of Child Band
posted

I think what I am trying to do should be simple but I can't seem to find the answer

I have an UltraWinGrid with two bands. I am using a BindingSource that uses a Binding List of one object type (Band 0)  that has a property that is a BindingList of a second object type(Band 1). I am able to sort the first band records by declaring the sorting rules in the Sort property of the binding source.

But I also need to sort the Band1 objects by a property of that object type. Can I do this in the Grid properties? What is the property I am looking for? This just needs to be a one-time sort. It won't change and the user cannot change the sorting via the UI.

I have looked at implementing a SortableBindingList extension but I just can't help but think there is an easier way to do this.

Can anyone help?

Parents Reply Children
No Data