Hello,
I'm am loading a flat list with parent-child elements (the children elemnt having a reference to the parent element through a ParentId) into an ObservableCollection and when the data is presented in the TreeList Component the parent nodes are collapsed. Is there a possibility to set the treelist to appear with all the parent elements that have children expanded?
Best regards,
Cipri
Hi,
The TileLayout is great. I'm searching a way to dynamically switch the definition according to media breakpoints like width of the screen. Say, on a wide screen I want to present my data in 4 columns, but on a small screen the tiles a very compressed so I would like to have them reordered in 2 or even only 1 column. Is that possible?
We are building a new server-side Blazor web site that gets its data from our existing ASP.NET Core 3.1 web API hosted in Azure. The API accepts PageSize, PageNumber and a dictionary of field names and values to be used for filtering and sorting, and returns the specified page of records that are filtered, and sorted against the full database table data.
We would prefer to use a commercial Blazor grid component that displays FilterRow UI elements and use the user input values and FilterRow element assigned field names to pass the field names and filter values to our API for filtering. We also want to capture the Sort (column header click actions) to pass the sort filed name and direction to the API and finally, we want to capture the component's pager values for current PageNumber and PageSize to pass to our API. That way, our API can filter, sort and page the full data in the database and just return the result set to be displayed.
We have a working version of the TelerikGrid v2.5.1 athat handles the paging the way we want, since you supply the GridReadEventArgs in the OnRead event that include the PageNumber and PageSize, but the sort and filter elements appear to be bound to the current data and so far, we have not been able to find a way to pull the filter and sort expression out to pass on to our API in a way that actually works.
Is what we want to do at all possible with your 2.5.1 build of TelerikGrid for Blazor?
Hi,
Can I have two way binding to SelectedItems and to SelectedItemsChanged event at the same time like the followings:
<TelerikTreeView Data="Items" @bind-SelectedItems="SelectedItems" @bind-SelectedItems:event="SelectedItemsChanged">
<TreeViewBindings>
<TreeViewBinding IdField="Code" TextField="Title" />
</TreeViewBindings>
</TelerikTreeView>
working? As Blazor allows binding to event handlers by convensions?
Hi , I am trying to use blazor demo . When I try to get code from demo.blazor my code cant find @using TelerikBlazorDemos.DocumentProcessing . What can I do about this ?
I have a grid with an incell editmode.
If I
Repeatable in Edge and Chrome
I want to use an auto complete for selecting an item from an object. I'm using the item template and setting the value to a string. When selecting the name, which is 2 properties on the object it puts the id in the text box. How do I get the name to display while still using the id as the selected value?
01.
@page "/test"
02.
03.
<
h3
>Test</
h3
>
04.
<
TelerikAutoComplete
Data
=
"@users"
ValueField
=
"@(nameof(TestUser.Id))"
@
bind-Value
=
"@userId"
>
05.
<
ItemTemplate
Context
=
"user"
>
06.
@user.FirstName @user.LastName
07.
</
ItemTemplate
>
08.
</
TelerikAutoComplete
>
09.
<
button
class
=
"btn btn-primary edit-btn"
@
onclick
=
"@Test"
>Test</
button
>
10.
11.
@code {
12.
13.
private List<
TestUser
> users;
14.
private string userId;
15.
16.
protected override Task OnInitializedAsync()
17.
{
18.
users = new List<
TestUser
>();
19.
users.Add(new TestUser { Id = 1, FirstName = "John", LastName = "Smith" });
20.
users.Add(new TestUser { Id = 2, FirstName = "Jane", LastName = "Doe" });
21.
users.Add(new TestUser { Id = 3, FirstName = "Olivia", LastName = "Williams" });
22.
users.Add(new TestUser { Id = 4, FirstName = "Noah", LastName = "Jones" });
23.
24.
return base.OnInitializedAsync();
25.
}
26.
27.
async Task Test()
28.
{
29.
Console.WriteLine(userId);
30.
}
31.
32.
public class TestUser{
33.
34.
public int Id { get; set; }
35.
public string LastName { get; set; }
36.
public string FirstName { get; set; }
37.
}
38.
}
Hello,
I was wondering if anyone has worked with the Drawer much and has found that if the content takes up more vertical space than the window can handle and the scroll bar appears. When this happens for me and I scroll down, the drawer menu moves as well.
Is there any possible way to make the k-drawer fixed while keeping the k-drawer-content scrollable?
Thank you so very much for your input,
Jesse