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

PopupEditor with gridview and autocompelete

1 Answer 129 Views
PopupEditor
This is a migrated thread and some comments may be shown as answers.
bo
Top achievements
Rank 1
bo asked on 30 Jan 2020, 07:27 AM

Hi

Thanks for great popup editor.

i wanna have a grid inside the popup editor and set drop down style of popup editor to dropdown because the user can use auto complete like in dropdownlist.

but i wanna auto complete ocure on all grid rows and suggest what the user type. the text must be contains and not start with.

is it possible? and if possible give me sample

thanks in advanced

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 30 Jan 2020, 01:46 PM
 

Hello, Bo,   

In order to host a RadGridView in a RadPopupEditor's container and achieve filtering considering all the cells in the grid, it is suitable to use the custom filtering behavior that RadGridView offers. 

In the CustomFiltering event you can control whether a row is visible or not by iterating all Cells in the row and checking each cell's value. If at least one cell contains the entered text, mark the row as visible. Additional information how the custom filtering works is available here: https://docs.telerik.com/devtools/winforms/controls/gridview/filtering/custom-filtering

I would also recommend you to have a look at our Demo application >> GridView >> Filtering >> Custom Filtering example which is quite useful on this topic. It demonstrates how to filter by using the text in an external RadTextBox. You can use a similar approach considering the editable part of RadPopupEditor.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
PopupEditor
Asked by
bo
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or