Hello,
I am trying to set up a GroupFooterTemplate and to calculate a value to put in the footer I need to know the value of the grouped attribute. In this case I am grouping on a column named "Category" and I call a function that needs to know the value of the category column in the group above the footer. If that's not clear here is a screenshot to help illustrate the value I'm trying to find when generating the group footer.
So I'm hoping to be able to pull that category value, "Biological" or "Kiln", when generating the group footer which I do by using the code here.
<GridColumn Field="@lengthColumnName" FieldType="@typeof(decimal)" Title="@myName" Width="180px">
<GroupFooterTemplate Context="unitFooterContext">
Total: %@calculateSubtotal(lengthColumnName, "Biological").ToString()
</GroupFooterTemplate>
</GridColumn>
On the Blazor Upload demo page it shows the control with a "drag and drop" option. I haven't been able to find information on the site on how to implement that. I have found a few places where it makes it sound as if that is not yet possible. Can you direct me to a location where it has further information on that feature? Thanks
Before upgrading to 4.0, I used to define a GridCommandButton this way (with FontAwesome custom icons) :
<GridCommandButton IconClass="fal fa-sync-alt fa-lg" OnClick="Refresh">@Resources.Refresh</GridCommandButton>
But now with 4.0, IconClass parameter has been removed. Documention says to use Icon parameter, that only accept a FontIcon or SvgIcon object value.
But how do a use those to display my custom icon in above code?
Working on some CSS stuff in Telerik for Blazor and see some CSS rules defined like this:
.k-this-class {
color: green;
}
.\!k-this-class {
color: blue;
}
What does the .\! do in CSS?
Thanks.
https://blazor.cdn.telerik.com/blazor/3.7.0/kendo-theme-default/swatches/default-ocean-blue.css
We color code each day of the week based on a service call. Is there a way to know when the month is changing so that we can fire our service call event and populated disabled dates and colors for the calendar cells?
One idea I had was when rendering the cells, check to see if the first is being rendered then fire the service call event. Doesn't seem like the best option as that would cause the rendering to pause while the call was being executed.
Hi there,
I'm facing a problem with charts in a tile layout. I have a TileLayout in my applicaton and added some charts (which are in another component) to it. I checked the documentation about TileLayout and resizing so I followed those steps. Please check out my code:
Razor MainPage:
<TelerikTileLayout Columns="5"
ColumnWidth="300px"
Reorderable="true"
Resizable="true"
OnResize="TileItemResize">
<TileLayoutItems>
<TileLayoutItem HeaderText="My Item Text" RowSpan="2">
<Content>
<TurnoverComparisonWidget @ref="TurnoverComparisonRef" SelectedWidget="widget" IsLoad="true"></TurnoverComparisonWidget>
</Content>
</TileLayoutItem>
</TileLayoutItems>
</TelerikTileLayout>
Razor TurnoverComparisonWidget:
<TelerikChart @ref="ChartRef" Height="100%">
<ChartTooltip Visible="true"></ChartTooltip>
<ChartSeriesItems>
<ChartSeries Type="ChartSeriesType.Column" Data="ChartData" Field="@nameof(ChartDataItem.Value)" CategoryField="@nameof(ChartDataItem.CategoryName)">
<ChartSeriesLabels Visible="true" Format="{0:C2}"></ChartSeriesLabels>
</ChartSeries>
</ChartSeriesItems>
</TelerikChart>
C# MainPage:
public TurnoverComparisonWidget TurnoverComparisonRef { get; set; }
private void TileItemResize()
{
TurnoverComparisonRef.Refresh();
}
C# TurnoverComparisonWidget:
public TelerikChart ChartRef { get; set; }
public void Refresh()
{
ChartRef.Refresh();
}
But the chart is not resizing when I resize the tile layout item. It just stays the same size and never changes. Did I forget anything? I can't figure it out.
Best Regards,
Roman
Hello,
I have a grid where is use OnRead to get the data. The EditMode is set to Inline.
I can insert, and delete a row from the grid but I can't edit a row.
I have defined EditorTemplate but it doesn't enter into it.
I'm trying to migrate the solution on the version 3.7.0 of your framework.
Previously I had the version 2.29 of your framework where I didn't got that problem.
Behind the grid I have a DataTable like in this example: https://demos.telerik.com/blazor-ui/grid/data-table
I've read the articles regarding this issue and I also tried the solution on this topic
https://www.telerik.com/forums/grid-with-inline-edit-how-to-add-new-row-and-manage-save-cancel-request-from-code
But it doesn't seams to work for me, the EditorTemplate is not displayed.
I will appreciate if you can help me on this issue.
Thank you in advance,
Cipri