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

How to hide/unhide specific rows and columns by mouse operation in a GridGroupingControl ?

Thread ID:

Created:

Updated:

Platform:

Replies:

124243 May 26,2016 08:28 AM UTC May 30,2016 04:16 AM UTC Windows Forms 3
loading
Tags: GridGroupingControl
TrySyncfusion
Asked On May 26, 2016 08:28 AM UTC

Hi,

I've figured out that the FieldChooser class can help to hide/unhide specific columns, butI haven't found a solution  for rows .
The ideal effect is like MS-Excel' hide/unhide function. Do we have any controls or solutions that can make it?

By the way, I have another issue: how to rename the caption of FieldChooser's FieldDialogBox (which is "FieldDialogBox ")?

Thanks  : ) 






Adhikesevan Kothandaraman [Syncfusion]
Replied On May 27, 2016 06:45 AM UTC

Hi Customer, 
 
 
Query 1: 
The ideal effect is like MS-Excel' hide/unhide function. Do we have any controls or solutions that can make it? 
To implement the hiding of rows like the excel for the GridGroupingControl, you can define a EngineFactory before the inititalizeComponet method. It will allows to hide the rows by resizing to its minimum size. Please refer to the following code snippet, 

Code Snippet: 
//Used to resize Individual Rows in the GridGroupingControl 
GridEngineFactory.Factory = new Syncfusion.GridHelperClasses.AllowResizingIndividualRows(); 
InitializeComponent(); 
 
Query 2: 
how to rename the caption of FieldChooser's FieldDialogBox (which is "FieldDialogBox ")? 
The Caption text of the field chooser dialog box can be changed by handling the FieldChooserShowing event of the GridGroupingControl as of follows, 
 
Code Snippet: 
this.gridGroupingControl1.FieldChooserShowing += new Syncfusion.Windows.Forms.Grid.FieldChooserShowingEventHandler(gridGroupingControl1_FieldChooserShowing); 
void gridGroupingControl1_FieldChooserShowing(object sender, Syncfusion.Windows.Forms.Grid.FieldChooserShowingEventArgs e) 
{ 
    //To Set the caption text of the field chooser Dialog box. 
    e.Caption = "Sample";             
} 
 
 
 
 
Regards, 
Adhi 


TrySyncfusion
Replied On May 27, 2016 08:54 AM UTC

Thanks a lot  ^_^ 

Adhikesevan Kothandaraman [Syncfusion]
Replied On May 30, 2016 04:16 AM UTC

Hi Customer, 

Thanks for your update. 

We are glad to know that your query has been solved. Please let us know if you need any further assistance. 

Regards, 
Adhi 


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

;