Hy,
I have a grid with aggregates and I set an initial grouping on the OnStateInit method:
Everything is working fine but after the last update the initial grid view is as follows:
As you can see the grouping is duplicated. Can anyone help me?
The grid is attached
Thanks
Dear,
I have a small test application that uses the telerik DataGrid in Blazor.
For adding records to the dataGrid I use the Popup window.
When doing that and pressing the "update" button once, the popup window doesn't close but my record has been added and the reload of the DataGrid has happend.
Why doesn't it close ?
Kind Regards
Hi,
is there a way of reimplementing keyboard navigation when using a custom row template?
The documentation states that functionality is taken way due to not knowing the current state which is totally fine.
Maybe someone has an idea on how to reactivate or add keyboard shortcuts for selection and navigation.
Regards,
Tom
I have a question regarding the recurrence rules for jobs where the original jobs and the instances of recurrence are not in the same searched range.
For example:
foreach (var event in events)
{ event.RecurrenceRule = null;
var firstOccurence = new Job
{
Id = new Guid();
Start = new DateTime(event.Start.Value.Ticks).AddDays(1),
End = new DateTime(event.End.Value.Ticks).AddDays(1),
};
var secondOccurence = new Event
{
Id = new Guid();
Start = new DateTime(event.Start.Value.Ticks).AddDays(2),
End = new DateTime(event.End.Value.Ticks).AddDays(2),
};
recurrenceEvents.Add(firstOccurence);
recurrenceEvents.Add(secondOccurence);
}
events.AddRange(recurrenceEvents);
Hi all,
Could you please add the OnBeforeActiveTabIndexChange event and allow to cancel ActiveTabIndexChange in the handler?
I saw an example in the doc about how to prevent tab (index) change, but it is not sufficient because of:
- event if you won't change the tab index, the active tab is still being destroyed and recreated;
- we don't want to keep the tab in memory by using the Persist flag;
We need to prevent tab switching by showing the user a confirmation and reacting to the user's choice.
I have the following code for my GridToolBarTemplate. We want the ExportToExcel formated to the far right while the Resub, Cancel and Cleare stay to the left. How is this done?
<GridToolBarTemplate>
<GridCommandButton Command="Resubmit" Enabled="@IsResubmitEnabled" Icon="@SvgIcon.Redo" OnClick="TransactionsGrid_ResubmitButton_ClickAsync">RESUBMIT</GridCommandButton>
<GridCommandButton Command="Cancel" Icon="@SvgIcon.Cancel" OnClick="TransactionsGrid_CancelButton_Click">CANCEL</GridCommandButton>
<GridCommandButton Command="Clear" Icon="@SvgIcon.ArrowRotateCcw" OnClick="TransactionsGrid_ClearButton_Click">CLEAR</GridCommandButton>
<GridCommandButton Command="ExcelExport" Icon="@SvgIcon.FileExcel">Export to Excel</GridCommandButton>
</GridToolBarTemplate>
See that popup hint when the user has eht emouse over the draweritem, [Products], had this working fine in the net6 version of the app. But on converting to .net8 it appears to have stopped working.
Do I need to do somethign different? I cant find any simple examples of gettign this to work.
Code I have:
@inject NavigationManager NavigationManager
<TelerikTooltip TargetSelector=".k-drawer-items span.k-icon[title]" />
<div class="drawer-container">
<div class="custom-toolbar">
<TelerikButton OnClick="@ToggleDrawer"
Icon="@FontIcon.Menu"
FillMode="@(ThemeConstants.Button.FillMode.Flat)">
</TelerikButton>
<span class="mail-box">@strAppName</span>
</div>
<TelerikDrawer @ref="@Drawer"
Data="Data"
MiniMode="true"
Mode="@DrawerMode.Push"
TItem="DrawerItem"
SelectedItemChanged="@OnItemSelect"
@bind-Expanded="@Expanded">
<Template>
<div class="k-drawer-items" role="menubar" aria-orientation="vertical">
<ul>
@foreach (var item in context)
{
var selectedClass = item == SelectedItem ? "k-selected" : string.Empty;
<li @onclick="@(() => OnItemSelect(item))" class="k-drawer-item @selectedClass k-level-@(item.Level)">
<TelerikSvgIcon Icon="@item.Icon"></TelerikSvgIcon>
<span class="k-item-text">@item.Text</span>
<span class="k-icon k-font-icon k-i-@item.Icon" title="@item.Title"></span>
@if (item.Expanded && (item.Children?.Any() ?? false))
{
<TelerikSvgIcon Class="drawer-chevron-icon" Icon="@SvgIcon.ChevronDown" />
}
else if (!item.Expanded && (item.Children?.Any() ?? false))
{
<TelerikSvgIcon Class="drawer-chevron-icon" Icon="@SvgIcon.ChevronRight" />
}
</li>
}
</ul>
</div>
</Template>
</TelerikDrawer>
</div>
<style>
.sidebar {
background-image: none !important;
}
.drawer-container {
/* margin: 30px auto;*/
width: 100% !important; /*100%*/
}
.k-drawer-container {
position: relative;
width: 100%;
}
.custom-toolbar {
width: @strAppNameWidth;
background-color: #f6f6f6;
line-height: 49px;
border-bottom: inset;
border-bottom-width: 1px;
padding: 3px 8px;
color: #656565;
}
.mail-box {
margin-left: 20px;
font-weight: bold;
font-size: 17px;
}
.page ul {
list-style: none;
margin: 0;
padding: 0;
}
.page li:last-child {
border: 0;
}
.page li h6 {
border-bottom: none;
padding-bottom: 8px;
}
.k-drawer-content {
padding: 25px;
font-size: 18px;
}
.k-d-level {
display: flex;
}
.drawer-chevron-icon {
position: absolute;
right: 0;
line-height: inherit;
margin: 0 8px
}
</style>
As far as I can tell this line: <span class="k-icon k-font-icon k-i-@item.Icon" title="@item.Title"></span>
Should be doing the work of showing the Hint whcih I am putting in title in code behind.
example:
new List<DrawerItem>
{
new DrawerItem
{
Title = "Home",
Text = "Home",
Icon = SvgIcon.Home,
Url="./"
},
new DrawerItem
{
Title = "Management",
Text = "Management",
Icon = SvgIcon.DataSds,
Url="Management"
},
new DrawerItem
{
Title = "Products",
Text = "Products",
Icon = SvgIcon.BuildingBlocks,
Url="Products"
},
Any suggestions pointers as to what I am doing incorrectly?
Thanks
Deasun.
I'm currently trying to integrate telerik tilelayout inside telerik tabstrip dynamically?
for example
<TabStripTab Class="@(filteredRows.Any() ? GetTabWidth() : "auto")" Title="@tabtitle1["tabtitle"].ToString()">
<TelerikTileLayout Columns="12"
RowHeight="auto"
Resizable="true"
Reorderable="true">
<TileLayoutItems>
@foreach (DataRow row in filteredRows)
{
<_Data columnspan='Convert.ToInt32(row["columnspan"])' rowspan='Convert.ToInt32(row["rowspan"])' pageId="@pageId" oDt="row" encryptQueryString="@data"></_Data>
}
</TileLayoutItems>
</TelerikTileLayout>
</TabStripTab>
}
@if (filteredRows2.Any())
{
<TabStripTab Title="@tabtitle2["tabtitle"].ToString()">
<TelerikTileLayout Columns="12"
RowHeight="auto"
Resizable="true"
Reorderable="true">
<TileLayoutItems>
@foreach (DataRow row in filteredRows2)
{
<_Data columnspan='Convert.ToInt32(row["columnspan"])' rowspan='Convert.ToInt32(row["rowspan"])' oDt="row" data="@data"></_Data>
}
</TileLayoutItems>
</TelerikTileLayout>
</TabStripTab>
when i set persist content to true it reloads the components which invoke the database calling ?I s there any way to do without component being refreshed?