Hi Catalin,
Thanks for your interest in Syncfusion products.
We could not able to get the required specification clearly.
Could you please confirm us whether you are looking to bind a panel to the GDBG
cells. For example having the GDBG row 2 with your custom panel?. Could you please
elaborate your scenario.
Regards,
Arun.
Hi Catalin,
Thanks for the update.
If your intention is to embed a user control in a cell,
please refer to the following sample in the dashboard.
Grid\Custom Cell Type\Drop-Down Form and User Control Demo
This demo will guide you to create a custom cell control
that places a drop-down form or a user control in a cell.
Another option is just declare a control in the form and
assign the Control as celltype for a
cell like below
EditControl editControl = new EditControl();
this.gridControl1[2, 2].CellType = GridCellTypeName.Control;
this.gridControl1[2, 2].Control = editControl;
In this you can set your own custom control instead of
EditControl and can assign it in the same way
Please let me know if this helps
Regards,
Kalai
Hi Catalin,
Thanks for the update.
Query: I need a solution
to apply a custom control for a column for all rows automatically (not
looping over a list in an event) |
Thanks for sharing the information. You could make use of
the following Querycellinfo event. This event will be triggered continuously.
So please make use of the following event. Code Snippet: this.gridDataBoundGrid1.Model.QueryCellInfo
+= new GridQueryCellInfoEventHandler(Model_QueryCellInfo); void Model_QueryCellInfo(object sender, GridQueryCellInfoEventArgs
e) { if(e.ColIndex==5)//The Colindex of
the custom control. { e.Style.Control
=//The respective control u are trying to bind. } } |
Please let me know if you have any concerns.
Regards,
Arun.