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

Buttons not showing up

2 Answers 474 Views
Button
This is a migrated thread and some comments may be shown as answers.
Christine
Top achievements
Rank 1
Veteran
Christine asked on 11 May 2020, 01:01 PM

 

I have a Grid with the search and filters enabled.  I have placed the sprite files where they are supposed to go and still the buttons do not come up.  What do I have to do to get the filter and search buttons to display?  Is there a guide somewhere that explains what I need to do?  I need for these buttons to display.

2 Answers, 1 is accepted

Sort by
0
Aleksandar
Telerik team
answered on 13 May 2020, 06:48 AM

Hello Christine,

The provided information is not enough for me to be able to determine what is causing the issue reported. Allow me to explain what you need to do to display the Search bar and the filter buttons for the Grid columns.

To enable the Search bar you need to set the Toolbar configuration:

@(Html.Kendo().Grid<CustomerViewModel>()
    .Name("Grid")
    .ToolBar(t => t.Search()) // Enable the Search panel.
    ...

You can further customize the fields to search through by setting the Search configuration option

.Search(s=> { s.Field(c => c.ShipName); })

To enable Filtering you need to add the .Filterable() configuration option. This will add the filtering icon to the header column. You can further customize the filtering functionality by setting the Filter Modes, for example.

Finally, attached is a sample project with the above demonstrated.

If the above does not help please provide some additional details on the issue. Ideally, you can update the provided sample so the issue is reproducible and send it back to me for review.

Regards,
Aleksandar
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
Christine
Top achievements
Rank 1
Veteran
answered on 13 May 2020, 01:49 PM
I uninstalled the Telerik tools and did a fresh install and now the buttons are showing up.
Tags
Button
Asked by
Christine
Top achievements
Rank 1
Veteran
Answers by
Aleksandar
Telerik team
Christine
Top achievements
Rank 1
Veteran
Share this question
or