I have a list of items that I can display in a TreeView as flat data source. Each of these items has a list of other items, more like a hierarchical data source. Is it possible to have a TreeView with mixed flat and hierarchical data in it? I've tried adding another TreeViewBinding, but that didn't work.
public class TreeItem{ public int Id { get; set; } public string Text { get; set; } public int? Parent { get; set; } public bool HasChildren { get; set; } public bool IsExpanded { get; set; } public List<SubItem> SubItems { get; set; }}
Hi,
after enable grid to single selection I want to highlight the selected row. Should I use the OnRowRender to do this, there is no built in feature to do this?
Thank you very much
Andrea
Hello!
Please help: i have custom column's grid header that contains CheckBox and column's title
The column is sortable.
A checkbox calls a specific method, but clicking on it also triggers a sort.
How to prevent sorting when clicking a specific component in a column header?
<GridColumn Filed="nameof(CrmViewElements)"> <HeaderTemplate> <div class="row"> <div class="col d-flex align-items-center"> <div style="padding-right: 1rem; cursor: pointer" data-toggle="tooltip" data-placement="bottom" title="Show all elements"> <TelerikCheckBox @bind-Value="@showAllComponents" /> </div> <span>Elements</span> </div> </div> </HeaderTemplate></GridColumn>I am testing the new menu component but found some issues:
1. when you move the mouse over the menu options sometimes more than one menu remains openned. (attached screenshot)
2. when you click a submenu option the submenu is not closed/hidden.
3. add option to show/open submenus only when clicking in the menu option, not when passing mouse over it.
Hi
How do you change the border ?
I've tried.. doesn't seem to work.
How can I make outset? and change the border color.. do it 'pops'?
thx in advance
.k-animation-container {
border-radius: 2px 2px 2px 2px;
border-color: blue;
border-width: 2px;
position: absolute;
overflow: hidden;
z-index: 100
}
Anyone got a list of a few case studies of web apps that have been deployed "into the wild" - especially if using the Kendo library?
So far, I have built just one but it is an internal (behind the firewall) app and it is working great.
Blazor (attachment 1.jpg)
jQuery (attachment 2.jpg)
i would appreciate for workaround
Hi,
In my Telerik Blazor grid, I'm looking to limit the amount of characters a user can input in a particular column.
So in my column below I want the user only to be able to enter max 50 characters when they are adding or updating a row.
<GridColumn Field="Description">
<Template>
@((context as Model1).Desc.ToString())
</Template>
</GridColumn>
Thanks for any pointers!
Hello,
I've been trying to use a grid with hierarchy to show a list of items, which can have a parent and any number of children.
My object looks like this :
public class HierarchicObject { public ValueObject value; public List<HierarchicObject> children; }The data that will vary a lot, and the maximum depth cannot be assumed.
Everything I have read on the docs and forums leads me to the conclusion that each level of depth has to be declared manually and individually. For example, the code from this page creates 3 levels for different objects.No problem so far.
My problem is that I can't do this since there is no known max depth, and even then it would mean duplicating the code many times, making it very large and unreadable as the fields (from my ValueObject) used in the grid contain templates.
My object being "hierarchical" by nature, is there a way to make it so the grid can handle virtually any level of depth using a single DetailTemplate or something similar ?
Please let me know if you need any additionnal information.
Regards

We have a Blazor server app that has a dashboad type layout. What we'd like to do is export the charts and the data behind from the dashboard to the an Excel spreadsheet for download. Generating the dashbard, charts and spreadsheet looks straight forward with your components. The part I'm struggling with is how to embed the charts from the dashboard into the spreadsheet.
Is this supported?