The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Cell type is of combo box. When the cell size is increased in the grid grouping control the combo box is also taking the size of the cell. THat is the cell size is becoming the default size of the control. can't we fix the size of the control inside the cell so that it does not take the size of the cell.
RARajagopal Syncfusion Team June 8, 2007 06:33 PM UTC
Hi Asit,
This is the default behavior. If you want to control the size of the combobox that is displayed inside the cell, then you can try adjusting the BorderMargins property. Please try the below code snippets.
// to have the combobox displayed centered always inside the cell this.gridGroupingControl1.TableDescriptor.Columns[2].Appearance.AnyRecordFieldCell.BorderMargins.Left = 20; this.gridGroupingControl1.TableDescriptor.Columns[2].Appearance.AnyRecordFieldCell.BorderMargins.Right = 20;
// to have the combobox left aligned inside the cell this.gridGroupingControl1.TableDescriptor.Columns[2].Appearance.AnyRecordFieldCell.BorderMargins.Right = 40;
// to have the combobox right aligned inside the cell this.gridGroupingControl1.TableDescriptor.Columns[2].Appearance.AnyRecordFieldCell.BorderMargins.Left = 40;
Let us know if you have any further questions. Regards, Rajagopal