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

Is it possible to add a search bar to a report parameter dropdown?

5 Answers 303 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 08 Apr 2020, 11:41 AM

Hi

 

I have a report parameter that could potentially have a lot of different options to choose from. Is it possible to add a search bar to the text dropdown so the user can search for the right parameter?

 

The report's shown on a webpage if that makes a difference?

 

Cheers

5 Answers, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 09 Apr 2020, 03:53 PM

Hi Richard,

The HTML5 viewer supports a dropdown list with search bar out of the box. You can check our Product Catalog demo report.

If you have any other questions, feel free to ping us any time.

Regards,
Elena
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Richard
Top achievements
Rank 1
answered on 14 Apr 2020, 01:50 PM

Thanks Elena, I've had a look at the product catalogue but it doesn't look like the same type of dropdown we use, I've included a screenshot (apologies for the black squares, I've had to hide the options for data security reasons) of the dropdown we use and I'm not sure how to add a search bar to this one. Is it possible?

0
Elena
Telerik team
answered on 17 Apr 2020, 10:17 AM

Hi Richard,

The report parameter is a dropdown control that is implemented by default with our Kendo UI controls and applies all their styles and default settings. However, these default dropdowns can be hidden and replaced with custom controls on your application that gather the information about the filtering of the report and later send it through the ReportSource.

From the screenshot you've sent, I can't understand which option you're using.

  • If you're using the default dropdown, please make sure you've upgraded your kendo version and haven't overridden its default behaviour.
  • If you've created your own dropdown, I don't know how the dropdown is implemented exactly and I would need more specific information in order to help you.

Regards,
Elena
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Quế
Top achievements
Rank 1
Iron
commented on 29 Nov 2024, 07:36 AM

How can I make my parameter bar hide, show select items and at the same time have search function like in your demo?
Quế
Top achievements
Rank 1
Iron
commented on 03 Dec 2024, 02:05 AM

Hi Richard,

To get the filter like in the picture what do I have to do at least or at least I have to install any version of telerik reports

Dimitar
Telerik team
commented on 03 Dec 2024, 12:26 PM

Hello Quế,

To use the controls such as the ones in the picture, you would need to use an HTML5-based Report Viewer and the ComboBox widget for multi and single-value report parameters. The widget can be configured from the report viewer's settings, for example:

        $("#reportViewer1")
         .telerik_ReportViewer({
                serviceUrl: "/api/reports/",
                reportSource: {
                    report: "Report1.trdp",
                },
               parameters: {
                    editors: {
                        multiSelect: telerikReportViewer.ParameterEditorTypes.COMBO_BOX,
                        singleSelect: telerikReportViewer.ParameterEditorTypes.COMBO_BOX
                    }
                 }
            });

For more information on the report viewer settings, you may have a look at the HTML5 Report Viewer Options Overview - Telerik Reporting article.

0
Quế
Top achievements
Rank 1
Iron
answered on 04 Dec 2024, 09:00 AM
Thank you so much, Telerik Team .
0
Quế
Top achievements
Rank 1
Iron
answered on 04 Dec 2024, 09:44 AM
Sorry for bothering you again. I have 1 report. In addition to the common parameters for my charts, there are a few charts that need their own filters, and at the same time, there are a few charts that have a lot of objects to display in column charts or bar charts. First, is there any way to display individual parameters in each chart? Second, is there any way to add scrolling functionality to both column and bar charts? thank you so much.  
Dimitar
Telerik team
commented on 06 Dec 2024, 02:51 PM

Regarding the first question, I assume that by "filters" you are referring to the visible Report Parameters in the report, is that correct?

Report Parameters are defined per report - Adding Report Parameters Explained - Telerik Reporting, however, each filter has its own Filters collection to which you may apply filters that may or may not depend on the report parameter sections - Filtering the Graph Item At a Glance - Telerik Reporting.

Regarding the second question, it is not possible to add a scroller to a graph. However, if the report is displayed in a Report Viewer,  the width of the report is bigger than the viewer's viewport, a horizontal scroller will be displayed automatically below the viewer's viewport. It will allow the user to horizontally scroll the whole report.

 

 

 
Tags
General Discussions
Asked by
Richard
Top achievements
Rank 1
Answers by
Elena
Telerik team
Richard
Top achievements
Rank 1
Quế
Top achievements
Rank 1
Iron
Share this question
or