Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
290
Highlight value list item in rowfilterdropdown
posted

I am trying to highlight the valuelistitem in the row filter dropdown that represents the current  column filter comparevalue.

I have tried the following to no avail:

 

If

Me.dgDF.DisplayLayout.Bands(0).ColumnFilters(e.Column.Key).FilterConditions.Count > 0 Then

e.ValueList.SelectedItem =

CType(e.ValueList.FindByDataValue(Me.dgDF.DisplayLayout.Bands(0).ColumnFilters(e.Column.Key).FilterConditions(0).CompareValue), ValueListItem)

End If

I have read that SelectedItem only works when the editor for the control is an EditorWithCombo, but I can't find a way to access and change the editor or know if I am even heading in the right direction.

Is there a way to highlight an item in the BeforeRowFilterDropDown eventhandler just as it is highlight when the Mouse hovers over an item?

Thanks for your help

Parents Reply Children
No Data