We regret to let you know that we could not able to clearly understand your query. Here we have provided the sample for your reference. We need some more details regarding your application( whether GridGroupingControl is child for Panel or others in Main Form). Please modify the below sample to reproduce your scenario and also provide some screenshot or video. It would be more helpful for us to provide better solution as soon as possible. As a suggestion, the GridGroupingControl can be resized to Parent Control by using AllowProportionalColumnSizing property.
Code Snippet:
this.gridGroupingControl1.AllowProportionalColumnSizing = true;
Sample:
http://www.syncfusion.com/downloads/support/forum/118976/Sample_GGC959599818.zip
Please let me know if I misunderstood your query.
Regards,
Neelakandan
//
// gridGroupingControl1
//
this.gridGroupingControl1.Dock = System.Windows.Forms.DockStyle.Fill;
//
// panel1
//
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel1.Controls.Add(this.gridGroupingControl1);
Note:
If you find any difference with your application, please modify the below sample to reproduce your scenario. It would be grateful to provide better solution as soon as possible.
Sample:
http://www.syncfusion.com/downloads/support/forum/118976/Modified-Sample_GGC-642400508.zip
Video:
http://www.syncfusion.com/downloads/support/forum/118976/Sample_Video_118976-1426341475.zip
Please let me know if you have any concerns.
Regards,
Neelakandan
Hi Rasika,
Thank you for your update.
We have analyzed your reported scenario at our end. If you want to set the GridGroupingControl as the child of panel control, you need to Dock GridGroupingControl as Fill. So if you resize the Form control, it will be resized based on its parent(Panel) control. Here we have provided the sample and video. Please make use of below code snippet,
Code Snippet://
// gridGroupingControl1
//
this.gridGroupingControl1.Dock = System.Windows.Forms.DockStyle.Fill;
//
// panel1
//
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel1.Controls.Add(this.gridGroupingControl1);
Note:
If you find any difference with your application, please modify the below sample to reproduce your scenario. It would be grateful to provide better solution as soon as possible.
Sample:
http://www.syncfusion.com/downloads/support/forum/118976/Modified-Sample_GGC-642400508.zip
Video:
http://www.syncfusion.com/downloads/support/forum/118976/Sample_Video_118976-1426341475.zip
Please let me know if you have any concerns.
Regards,
Neelakandan