Hi everyone,
I have a question regarding the Filter Template. On my grid by default is set the FilterMode to FilterRow and in that situation the row for filter row appears by default on the grid that's fine how it is but I have a setting in my Bussiness Layer, a flag that tells me that the filter should be done down in the SQL select and for that I want to be able to set in the FilterTemplate a an input where the user can enter some values. The FilterTemplate should be set only for the situation explained above otherwise not.
Can the FilterTemplate be configured to in use somehow programaticali according to a true/false flag?
Thank you,
Cipri
I am trying to either disable or hide TabStripTab(s) based on boolean values in the component that contains the tabstrip. In another component I set the value(s) i need to set on the tabstrip component but it doesn't rerender and attempts to do so using StateHasChanged() throws the error above. I've looked at the dynamic tabs example but don't see a solution for me there. Is there some other way to force the component to redraw or is there a way to use a reference for it? My attempts to use a reference are either null or it still doesn't cause a re-rendering/update of whether the tabs are disabled or not. Clicking the the tab(s) does force a re-render and subsequent disabling but of course that isn't workable.
Thank you,
Lawrence.
Hello together
I have a hopefully simple question.
How can I access the grouping value in the GroupFooterTemplate?
What I can do in the GroupHeaderTemplate by using context.Value in the GroupFooterTemplate only aggregations are given in the "context".
Any help apreciated.
Best regards,
Benjamin
We have a grid as the snippet below.
I can't figure out how to put a FilterMenu on the Template(d) columns.
The Filter shows up for the "Id" column, which is just a field.
Is it possible to have a filter menu for the columns which are Template?
<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="Id"/>
<GridColumn Width="10%" Title="Year">
<Template Context="vehiclePartCtx">
@{
if (vehiclePartCtx is VehiclePart { BaseVehicle: { } } vehiclePart)
{
<span>@vehiclePart.BaseVehicle.YearId</span>
}
else
{
<span>???</span>
}
}
</Template>
</GridColumn>
After playing around with the new Drag&Drop functionality - I found a possible issue
After Drag and Drop a lot (about 20 to 30 times) the Grid does not refresh anymore. Also the demo (Blazor Telerik Demo) does not work correct anymore - have a look at the attachment
Best regards
Matthias