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
1284
Disabling Sorting of UltraWebGrid in Client script
posted


Hi
  I am working on a ASP.NET 1.1 application using UltraWebGrid 6.1.

I am setting AllowDefault Sorting property to OnClient.

I want  to disable sorting of the Grid in some scenarios.

How to disable the Sorting of the Ultraweb grid in Client script?

thanks
Ashok

Parents
No Data
Reply
  • 28464
    Suggested Answer
    posted

    Hello Ashok,

    There is what we call client-side events documented here:

    http://help.infragistics.com/Help/NetAdvantage/NET/2008.3/CLR3.5/html/WebGrid_Client_Side_Events_CSOM.html

    and there you can find the

    BeforeSortColumn

    Fired before a column has been sorted on the client.

    Parameters

    gridName

    String. The name of the Grid which is firing this event.

    columnId

    String. The id of the column that is being sorted.

     

    Returning "true" from the event handler will cancel the event.

Children
No Data