This is a migrated thread and some comments may be shown as answers.

Selected Record Arrow

2 Answers 104 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 12 Mar 2014, 02:23 PM
How can I turn off the selected record arrow in the MultiColumn ComboBox.  I am using a custom theme.

Thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 17 Mar 2014, 11:15 AM
Hi Paul,

Thank you for contacting Telerik support.

You can use the ViewCellFormatting event to remove the arrow image:
void EditorControl_ViewCellFormatting(object sender, CellFormattingEventArgs e)
{
    if (e.CellElement is GridRowHeaderCellElement)
    {
        e.CellElement.Image = null;
    }
}

You can subscribe to this event with the following line of code:
this.radMultiColumnComboBox1.MultiColumnComboBoxElement.EditorControl.ViewCellFormatting += EditorControl_ViewCellFormatting;
        }

Also you can hide the entire row header like this:
this.radMultiColumnComboBox1.MultiColumnComboBoxElement.EditorControl.ShowRowHeaderColumn = false;

I hope this information helps. Should you have any other questions, I will be glad to assist you.

Regards,
Dimitar
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
0
Paul
Top achievements
Rank 1
answered on 21 Mar 2014, 03:13 PM
Thanks Dimitar, that worked perfectly.
Tags
MultiColumn ComboBox
Asked by
Paul
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Paul
Top achievements
Rank 1
Share this question
or