RA
Rajagopal
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