Duplicated
Last Updated: 06 Mar 2024 12:44 by ADMIN
Enoch
Created on: 15 Feb 2024 20:48
Category: UI for Blazor
Type: Feature Request
0
Telerik.DataSource refactor for Dynamic Linq

https://dynamic-linq.net/

Please consider refactoring Telerik.DataSource to allow for Dynamic Linq expressions rather than fixed Member.

1. You don't have to reinvent the wheel in creating lambda expressions. You can simplify Telerik.DataSource code to just use Dynamic Linq.

2. Allows support for Sorts & Grouping to be expressions such as "Math.Abs(field ?? 0)" rather than just "field".

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
5 comments
ADMIN
Svetoslav Dimitrov
Posted on: 06 Mar 2024 12:44

Hello Enoch,

I have discussed this with our dev team and we decided to not include a third-party library dependency (Dynamic Linq) for all our clients. This library is not distributed by Microsoft so we are not aware of any vulnerabilities/potential bugs or other stability-related issues. 

Regards,
Svetoslav Dimitrov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Enoch
Posted on: 29 Feb 2024 08:49
A custom sorter will not translate very well with EF.Net Core's SQL translator. This is important for paged operations, because you need to sort and then take a page from the sorted list. Otherwise, you'd have to fetch all the records from SQL, sort with your custom sorter, and then take out the page of data you want. This is not very efficient.
ADMIN
Svetoslav Dimitrov
Posted on: 29 Feb 2024 06:41

Hello Enoch,

We have an open feature request for the ability to add custom sort expressions for data source operations. I believe that this feature request will allow you to achieve the desired behavior. 

That being said, I am marking this request as a "Duplicate".

Regards,
Svetoslav Dimitrov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Enoch
Posted on: 22 Feb 2024 11:23

I would like to sort a grid column by the absolute value and still use .ToDataSourceResult() because of paging, filtering, etc.

 

 

ADMIN
Svetoslav Dimitrov
Posted on: 22 Feb 2024 11:17

Hello Enoch,

Can you provide some additional information on what you would like to achieve with these dynamic expressions? What is the problem that you need to address with these in the Grid?

I am asking because we are reluctant to provide built-in support (dependency) for a third-party tool.

Regards,
Svetoslav Dimitrov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!