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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

QueryCoveredRange group to be navigated up and down

Thread ID:

Created:

Updated:

Platform:

Replies:

52866 Dec 5,2006 02:03 PM UTC Mar 20,2009 02:52 AM UTC Windows Forms 8
loading
Tags: Grouping
Sivaiah Boppana
Asked On December 5, 2006 02:03 PM UTC

Hi
I am using .net 2.0 with Syncfusion 4.2

My Grouping Grid Control is showing records as QueryCoveredRange, grouped on NAME column. I need to move QueryCoveredRange grop up and down in the grid on a button click . could you plese advise me how I can do that?
Thanks
sivaiah

Sivaiah Boppana
Replied On December 7, 2006 10:55 AM UTC

Please reply me as soon as possible
Thanks in advance
Sivaiah

>Hi
I am using .net 2.0 with Syncfusion 4.2

My Grouping Grid Control is showing records as QueryCoveredRange, grouped on NAME column. I need to move QueryCoveredRange grop up and down in the grid on a button click . could you plese advise me how I can do that?
Thanks
sivaiah

Administrator [Syncfusion]
Replied On December 7, 2006 11:36 AM UTC

Hi Sivaiah,

Thanks for your patience.

Use the CurrentCell.MoveUp method to move the current cell up to next enabled row after skipping the specified number of rows and selecting the row. Alos use the MoveDown() method for downward direction. Here is a code snippet

GridCurrentCell cc = this.gridGroupingControl1.TableControl.CurrentCell;
//For Downwards
cc.MoveDown();
//For Upwards,
cc.MoveUp();

Best Regards,
Haneef

Sivaiah Boppana
Replied On December 7, 2006 04:05 PM UTC


Hi Haneef
This does not work for me. Please see the description of the problem in attachment.

The group will be selected by checking the checkbox and entire group should be navigate up and down by using up and down (+ and - in my case) buttons.




>Hi
I am using .net 2.0 with Syncfusion 4.2

My Grouping Grid Control is showing records as QueryCoveredRange, grouped on NAME column. I need to move QueryCoveredRange grop up and down in the grid on a button click . could you plese advise me how I can do that?
Thanks
sivaiah


groupnavigation.zip

Administrator [Syncfusion]
Replied On December 12, 2006 01:04 AM UTC

Hi,
You can get this working in couple of ways:

1) You can use a custom comparer for that particluar Grouped column and use an ArrayList.sort to arrange the values based on the up / down navigation. Grid will auto-arrange the groups. Below is a sample that moves a group when you press up or down arrow:

WindowsApplication45.zip


2) You can use an unbound column and have a summary displayed in the caption and can sort by summaries in caption. You can control where the Group can be moved by storing the Group info and the unbound column values in a hash table. Related samples:

Syncfusion\Essential Studio\4.4.0.51\windows\Grid.Grouping.Windows\Samples\Summaries\SortBySummaryInCaption
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=293

Sample:
Grouping.zip

Best regards,
Jay

ashok vardhan
Replied On October 6, 2007 02:21 PM UTC

dear sivaiah,

this is ashok vardhan!!! remember me? mail me soon

ashok vardhan
Replied On October 11, 2007 10:31 AM UTC

dear siva,

how are u. this is ashok vardhan, ur long lost friend. if u see this pls get in touch at the earliest

Administrator [Syncfusion]
Replied On February 1, 2009 03:36 PM UTC



>Hi
I am using .net 2.0 with Syncfusion 4.2

My Grouping Grid Control is showing records as QueryCoveredRange, grouped on NAME column. I need to move QueryCoveredRange grop up and down in the grid on a button click . could you plese advise me how I can do that?
Thanks
sivaiah



Administrator [Syncfusion]
Replied On March 20, 2009 02:52 AM UTC

Dear Sivaiah,
my problem is finding you. if you are from RVR & JC... please reply.

Thanks
Chandra


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;