or
<quote>To insert one of these elements into the telerik r.a.d.ribbonbar, right-click inside of a chunk or a button group and select Add an Item or Insert Sibling followed by the name of the element. You can then proceed to set the properties of the element using the Property window as you normally would. Refer to the linked topics for further information on the individual elements.</quote>
However, when i follow these instructions the only available items are:
Private
Sub
Grid_CellEditorInitialized(
ByVal
sender
As
System.
Object
,
ByVal
e
As
Telerik.WinControls.UI.GridViewCellEventArgs)
Handles
Grid.CellEditorInitialized
If
e.Row.Cells(e.ColumnIndex).ColumnInfo.Name =
"multiComboGrupo"
Then
Dim
editor
As
RadMultiColumnComboBoxElement =
CType
(Grid.ActiveEditor, RadMultiColumnComboBoxElement)
editor.EditorControl.ThemeName =
"UYA_Multicolu"
End
if
End
Sub
Private
Sub
Grid_CellBeginEdit(
ByVal
sender
As
System.
Object
,
ByVal
e
As
Telerik.WinControls.UI.GridViewCellCancelEventArgs)
Handles
Grid.CellBeginEdit
If
Grid.CurrentRow.Cells(e.ColumnIndex).ColumnInfo.Name =
"multiComboGrupo"
Then
Dim
editor
As
RadMultiColumnComboBoxElement =
CType
(Grid.ActiveEditor, RadMultiColumnComboBoxElement)
editor.EditorControl.ThemeName =
"UYA_Multicolu"
End
if
End
Sub
radGridView1.DataSource = dtDataTable;
radGridView1.Columns.Remove("CategoryName");
GridViewMultiComboBoxColumn column = new GridViewMultiComboBoxColumn();
column.FieldName = "CategoryName";
radGridView1.Columns.Add(column);
radGridView1.Columns.Move(radGridView1.Columns.Count - 1, 0);
if (dtSource.Rows.Count > 0)
{
for (int i = 0; i < radGridView1.Rows.Count; i++)
{
radGridView1.Rows[i].Cells["c_price_lob"].BeginEdit();
radGridView1.Rows[i].Cells["c_price_lob"].Value = dtSource.Rows[i][3].ToString();
radGridView1.Rows[i].Cells["c_price_lob"].EndEdit();
}
}