Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Grid Tech Support » Sorting in UnboundGridComtrol Collapse All
Subject Author Date
John Pag Jul 27, 2010 - 7:43 AM

1. I set AllowSorting = true for myColumns[1]

2. I set AllowColumnSorting = true for my grid

3. I Create sort rule

            SortRule sortRule1 = new SortRule(myColumns[1], Elegant.Ui.Grid.SortDirection.Descending);

            myUnboundGridControl1.SortRules.AddRange(new Elegant.Ui.Grid.SortRule[] { sortRule1 });

4 After i run my project and try sort myColumns[1] I but it does not become. what other it should I make?