Kendo Grid Bool Filter UI Issue

1 Answer 13 Views
Filter Grid
Dale
Top achievements
Rank 1
Iron
Dale asked on 12 Aug 2025, 12:36 AM

How can I fix this, surely they are meant to be side by side, Ideally I would like to change the is true to labels also?

 

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 12 Aug 2025, 08:59 PM

Hi Dale,

 

Thank you for reaching out.

You can achieve this requirement using the Messages configuration:
https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/filterablemessagesbuilder#istruesystemstring

And showing them side by side can happen with CSS and display: inline or float: left.

.k-filter-menu-container>label{
   display:inline;
}

Can you please try it and let me know if this info helps you?

 

Regards,
Eyup
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Dale
Top achievements
Rank 1
Iron
commented on 12 Aug 2025, 10:27 PM

So the first part worked to change the name, the second didnt. I can get similar bu adding to the container rather than label.

Upon first filtering however it looks like this

 

If you click again it looks like this'

The second one is close but the labels need some padding, ive tried this but it doesnt work

// Fix filter layout
.k-filter-menu-container {
    display: inline;
}

.k-filter-menu-container > label {
    padding-right: 10px;
}
Eyup
Telerik team
commented on 15 Aug 2025, 08:58 PM

You can achieve this requirement using a modification to the CSS rules:

<style>
    .k-filter-menu-container {
        display: inline;
     }
     .k-filter-menu.k-popup {
         min-width: 233px;
     }
     .k-filter-menu-container > label{
        margin-right: 10px;
        margin-top: 5px;
        margin-bottom: 5px;
     }
</style>

And the result is pretty neat:

And here is a live example for demonstration:
https://netcorerepl.telerik.com/czOilTca57aNrP0E54

Do you find this helpful?

Dale
Top achievements
Rank 1
Iron
commented on 22 Aug 2025, 03:45 AM

Thankyou works well
Tags
Filter Grid
Asked by
Dale
Top achievements
Rank 1
Iron
Answers by
Eyup
Telerik team
Share this question
or