Hi,
I am using search option in kendo ui grid. I have datetime, int, nullable fields. How do i search grid data with different data types.
Help on this is much appreciated.
Please find the attached image for grid details which i have.
Sample code on this will be very useful.
Regards,
Kiran
4 Answers, 1 is accepted
0
Hello Subin,
Searching is made based on a column field, and cannot be done out of the box through multiple fields with one search box. Also, the search is specific to every data type, and one search cannot be made for different types unless all of the are treated as strings.
Please check the supported filtering options for the Grid:
http://demos.telerik.com/kendo-ui/grid/filter-row
http://demos.telerik.com/kendo-ui/grid/filter-menu-customization
http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-filterable
Let me know if additional information is needed on this matter.
Regards,
Stefan
Telerik by Progress
Searching is made based on a column field, and cannot be done out of the box through multiple fields with one search box. Also, the search is specific to every data type, and one search cannot be made for different types unless all of the are treated as strings.
Please check the supported filtering options for the Grid:
http://demos.telerik.com/kendo-ui/grid/filter-row
http://demos.telerik.com/kendo-ui/grid/filter-menu-customization
http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-filterable
Let me know if additional information is needed on this matter.
Regards,
Stefan
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.
0
Subin
Top achievements
Rank 1
answered on 22 Feb 2017, 08:03 AM
Hi Stefan,
im good with filtering option in grid. Need help on search option in toolbar for multiple columns in grid in attached screenshot.
Regards,
Subin
0
Hello Subin,
As mentioned in the first reply, searching through multiple columns from the toolbar is not supported as the columns may be in different formats and there is no unified and supported searching that will accomplish this.
I only listed the supported filter options to show the alternatives.
Also, I can recommend our Progress Professional Services team which can provide solutions for custom implementations:
https://www.progress.com/services/outsourcing/feature-customization
Regards,
Stefan
Telerik by Progress
As mentioned in the first reply, searching through multiple columns from the toolbar is not supported as the columns may be in different formats and there is no unified and supported searching that will accomplish this.
I only listed the supported filter options to show the alternatives.
Also, I can recommend our Progress Professional Services team which can provide solutions for custom implementations:
https://www.progress.com/services/outsourcing/feature-customization
Regards,
Stefan
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Hello Subin,
Additionally, I can recommend these two threads demonstrating similar approaches to search through the items. Please have in mind that these are community made and not officially supported:
http://www.telerik.com/forums/grid-search-feature
http://stackoverflow.com/questions/29317248/kendo-ui-grid-search-box-in-toolbar-in-mvc
Regards,
Stefan
Telerik by Progress
Additionally, I can recommend these two threads demonstrating similar approaches to search through the items. Please have in mind that these are community made and not officially supported:
http://www.telerik.com/forums/grid-search-feature
http://stackoverflow.com/questions/29317248/kendo-ui-grid-search-box-in-toolbar-in-mvc
Regards,
Stefan
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.