New Product Launch - BoldDesk !
Introducing help desk ticketing software.
New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
this.gridGroupingControl1.QueryCellStyleInfo += new GridTableCellStyleInfoEventHandler(gridGroupingControl1_QueryCellStyleInfo);
private void gridGroupingControl1_QueryCellStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventArgs e)
{
switch (e.TableCellIdentity.TableCellType)
{
case GridTableCellType.AlternateRecordFieldCell:
case GridTableCellType.AddNewRecordFieldCell:
case GridTableCellType.RecordFieldCell:
{
GridTable table = e.TableCellIdentity.Table;
string tableName = table.TableDescriptor.Name;
GridRecord record = (GridRecord) e.TableCellIdentity.DisplayElement.ParentRecord;
string fieldName = e.TableCellIdentity.Column.MappingName;
e.Style.CellType = "ComboBox";
break;
}
}
Stefan
>Hi,
>
>I need to set the cells of a row, for all columns, to be Combo-box.
>
>All the examples metion setting cells of a specific column to Combo-box
>
>Is there a way to achieve this?
>
>Regards,
>Rishi
>