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
49
ultragrid (win) v.15 Sorted Columns
posted

I'm using the win ultragrid v. 15 in visual studio 2010, Visual Basic

I'm trying to clear all column sorts (single band) on an ultragrid. All of my searches have turned up (old) posts about calling the ultragrid.bands(0).SortedColumns.clear(), but that method does not appear to exist on the version 15 of the ultragrid. what method has replaced it?

Parents
No Data
Reply
  • 6120
    Verified Answer
    Offline posted

    Hello Vince,

    I believe you are using Infragistics 15.1 or 15.2. SortedColumns.Clear method exists in both of these versions. Please try modifying your code like below in order to resolve this issue:

    this.ultraGrid1.DisplayLayout.Bands(0).SortedColumns.Clear()

    Please let me know if I may be of further assistance.

    Sincerely,
    Sahaja Kokkalagadda
    Associate Software Developer

Children