Good Day,
I have been implementing drag&drop functionality between two Telerik Blazor grids using different data models. Using the documentation article as a reference below, I am able to get 2 models (derived from the same interface) to drag between 2 grids.
How to Drag and Drop Different Models between Multiple Grids - Telerik UI for Blazor
However, grid functions such as sorting and filtering start throwing errors, when unique fields are introduced per model. To re-produce, start with the demo code in the artcile and try and sort "Unique Field 1". This throws an exception: "Unhandled exception rendering component: Invalid property or field - 'UniqueField1' for type: IParentSampleData". See screenshot attached.
This makes sense, but it's very limiting. My question is, if this can "worked around" in any way.
I have tried to intercept the "StateChanged" event. But as I still need to call gridObj.SetStateAsync(args.GridState), I cannot circumvent the issue. As per the error, I assume that these Grid methods use the interface definition and not the actual model instance to determine available properties for filtering & sorting, etc.
Is there somethig I am missing? Would anyone have any experience with this scenario and could point me in the direction of a "work around" if one exists?
Many thanks,
Peter


I'm using a chart with BaseUnit="ChartCategoryAxisBaseUnit.Fit"
Aggregate="ChartSeriesAggregate.Sum", Type="ChartCategoryAxisType.Date"
When clicking on a series it returns a single date (day) and not the date range that were used for the aggregation.
I need the range in order to show the full result list in a grid.
How can it be done?
Is this possible?
I have seen the documentation on highlighting rows, but I haven't seen anything around getting a row to highlight outside of row selection and checkbox selection.

Just a quick formatting question!
Whenever I create a grid, I always get a small column on the right side.
How do I remove that?

Hi,
in an older web app with kendo ui for asp.net core I have a grid which shows timestamps. The Server send the json data in the post request in the server timezone , i.e. "2023-06-07T07:53:40.6227+02:00" . The javascripte code of the grid component then show the time in the timezone of the client to the user.
A newer web app I made with Blazor Server. The grid always show a datetime column in the grid in the server timezone.
I think there are the tasks needed:
1. determine the timezone of the client with javascript code.
2. applying the timezone of the request to the displayed datetimes in the grid.
3. applying the client timezone in the filter request.
Any ideas how this can be solved?
Best regards,
Peter
