I am trying to do a custom filter as FilterMenuTemplate in a Grid.
Filtering works fine. When I attempt to "unfilter", I get lost in how to detect and handle it.
I have two different styles of handing the filtering in the below, yet neither can I get to work.
How do I have FilterMenuTemplate with a dropdown (custom) and detect the user clicking the "Clear" button?
<TelerikGrid Data="@_vehicleParts"
Pageable="true"
Sortable="true"
FilterMode="Telerik.Blazor.GridFilterMode.FilterMenu"
Resizable="true"
Reorderable="true"
PageSize="20"
Navigable="true"
OnRead=@OnVehiclePartsRead
TotalCount="@TotalCount">
<GridColumns>
<GridColumn Width="10%" Field="@nameof(VehiclePartModel.YearId)">
</GridColumn>
<GridColumn Width="10%" Field="@nameof(VehiclePartModel.BrandModelName)">
<FilterMenuTemplate Context="brandModelNameFilterContext">
<TelerikDropDownList Data="@_brandModels" TextField="@nameof(BrandModel.Name)" ValueField="@nameof(BrandModel.Id)" @bind-Value="@BrandModelIdFilter" />
</FilterMenuTemplate>
</GridColumn>
<GridColumn Width="10%" Field="@nameof(VehiclePartModel.MakeName)">
<FilterMenuTemplate Context="makeNameFilterContext">
@{ this._makeNameFilterContext = makeNameFilterContext;}
<TelerikDropDownList Data="@_makes" TextField="@nameof(Make.Name)" Value="@MakeIdFilter" ValueField="@nameof(Make.Id)" ValueChanged="@((int value) => ColumnValueChanged(value, nameof(VehiclePartModel.MakeName), makeNameFilterContext.FilterDescriptor))"/>
</FilterMenuTemplate>
</GridColumn>
Hello,
Is there a way to refresh all Charts in a TileLayout without doing it on every Chart?
My TileLayout is created dynamically, and I can have 1 or many Charts in it, but I want to refresh all of them on resize.
I have a method that triggers when a user presses some key combinations, and then every Chart should do .refresh().
Thanks
BR,
Nikolas
I am attempting to use a drawer component to slide in from the right and present the user with a form to edit various items from a grid.
Is there a way to display content (form, text, etc) in a drawer other than menu-type items?
Thanks,
Jesse
I have created my own custom FilterMenuTemplate which is working. I get the standard "Clear" and "Filter" buttons in the filter popup for free.
I would like to add a third custom button next to the "Clear" and "Filter" buttons called "Default"
(see red outline on attached image as to where I would like to place the button).
Looks like it would need to be placed inside the <div class="k-columnmenu-actions">
Clicking on the "Default" button will reset the filter back to the default values e.g. "C0", "UA" and "BM" - is that possible?
Hi All,
Can any one help me to integrate a dropdown icon in TelerikMultiSelect component in blazor.
Thanks in advance
When the user types 0 in with the month selected , the entire date time values goes blank and shows the format. It is reproducible on your demo
https://demos.telerik.com/blazor-ui/datetimepicker/incremental-steps
to reproduce,