smandsw
February 19, 2021, 10:30pm
1
Hi,
I am new to Blazor and Radzen components, I would like to get some help use dynamic object to bind to RadzenGrid. I followed the samples and documentation, not getting the desired result.
Here is the code sample.
https://drive.google.com/file/d/1gKoEz1qAfD7L4p7Yf4IYbXst__vssPIi/view?usp=sharing
Results Image
https://drive.google.com/file/d/169-Ryp7A8HEHluDas3omPTkLakJKngsS/view?usp=sharing
Appreciate any help or advise.
enchev
February 20, 2021, 4:29am
2
Hi @smandsw ,
Unfortunately this is not supported at the moment.
smandsw
February 20, 2021, 5:36am
3
Thanks @enchev , Is this something that could be in short term roadmap? Appreciate if you could suggest any work around.
enchev
February 20, 2021, 5:44am
4
Check this thread:
Hi , I'm using LoadData to load data for Grid from api and in my case filtering and sorting works on server.
Thanks for your question it helped me.
<RadzenGrid AllowFiltering="true" AllowPaging="true" Count="result.TotalCount" PageSize="getUserTableDataInput.MaxResultCount" LoadData="LoadData" AllowSorting="true" Data="@result.Items" ColumnWidth="200px">
<Columns>
@foreach (var key in columns.Keys)
{
<RadzenGridColumn TItem="ExpandoObject" Prope…
enchev
February 20, 2021, 10:53am
5
I've just pushed new example with DataGrid bound to dynamic data (IEnumerable<IDictionary<string, dynamic>>
):
1 Like
smandsw
February 20, 2021, 7:14pm
6
Perfect. Thank you @enchev
smandsw
February 28, 2021, 9:05pm
7
HI @enchev
Would you be able to show this example for an editable grid ?
Thanks a lot
Hi @enchev
Appreciate if you could provide guidance on making grid editable using dynamic object ..
Thanks
enchev
March 9, 2021, 5:57am
9
Hey @smandsw ,
You can declare EditTemplate in similar way. Check this example for more info:
Hi @enchev
I tried to replicate the logic from the sample inline edit, but i get unhandled error. If you could help I greatly appreciate it..
You can download the visual studio solution here. It has only one page = Test.razor
https://drive.google.com/file/d/1rBhbNFfLdPzTBF64FVQfnKy4GICPfsLD/view?usp=sharing
enchev
March 23, 2021, 6:35am
11
Hey @smandsw ,
We provide dedicated support for Radzen customers only. The options are listed here:
@enchev Sure will do, but before we do that we want to make sure the Radzen framework support this important feature, so if you could provide the solution as pre-sales support that would help me with this proof of concept to show my management for budget approval. Appreciate it..
@smandsw we provide pre-sales support only after prior formal agreement. The Radzen.Blazor components are open source and you can easily attach the source project to your application to see what the source of this "unhandled error" is.
Thanks, I was able to figure it out using your suggestions.
I am creating dynamic Grid. The link https://drive.google.com/file/d/1gKoEz1qAfD7L4p7Yf4IYbXst__vssPIi/view?usp=sharing is not working can you re-share it, So that I can refer your code.
Thanks