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
60
How to use a row filtrerable component in ultraGridCell
posted

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.

Parents
  • 1700
    Offline posted

    Hello,

    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

Reply Children