Hello,
I'm using an UltraWinGrid.I would like to use something like an UltraCombo in a cell.But UltraCombo doesn't support a "Filter UI Type = Filter row".As my customers could have many data, it is better to provide something for filtering.One item of this "UltraCombo" will have 3 or 4 columns.I tryed with an UltraTextEditor defined as the EditorComponent.
On the button Right, I defined A DropDowEditorButton with an another UltraWinGrid as Control.But I don't understand how I can get the selected row of my "sub UltraGrid"?
Thanks.
In order to display multi-column dropdown inside the UltraGrid, what I can suggest you is using UltraCombo as an editor component of the column you wish to use it in. After that in order to enable search/filter like functionality you need to set the AutoCompoleteMode and AutoSuggestFilterMode for the needs of your application. Please note that these properties should be set on the column itself, not on the editor component.
I am attaching a sample that demonstrates this. To be able to search/filter the UltraCombo I have used the AutoCompleteMode to Suggest, which shows only the values that match a certain criteria. By setting the AutoSuggestFilterMode to Contains, the UltraCombo will show only the values that match the filter mode criteria, containing the value that the user typed based on the DisplayMember that was set to the editor component.
Please test the sample on your side and let me know if you have any questions.
Regards, Ivan Kitanov
UltraComboSearch.zip
Thank you Ivan.
I'm the creater of this post.
But, for "filter" an UltraCombo, you have to clic on the filter icon, select the type of filter (equals, contains, like.....) and the n define the value filter.
My expecation is to avoid these clics. Is there a way to have the Filter in a filter row, like inside an Ultragrid?
If it's not possible, which class/interface should my custom control implement to be definable as an EditorComponent and to do the trick?
Best regards.