This is a migrated thread and some comments may be shown as answers.

Group, sort and filter on whole dataset

1 Answer 109 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 1
Iron
Veteran
Iron
Ed asked on 12 Apr 2020, 07:20 AM

Hi, 

It seems as though these things only work on the current page. Is there a way to do these things at teh dataset level?

Any guidance would be great!

Thanks  …. Ed

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 13 Apr 2020, 11:54 AM

Hello ,

Where the data comes from depends entirely on the app. While our documentation usually uses some data generated in the view-model for brevity, you have full flexibility over the data source. For example:

You can optimize data binding in two common ways:

  • With server-side Blazor, you can directly use an IQueriable collection tied to your backend/service
  • You can implement your own data source operations through the OnRead event and call a WebAPI or OData endpoint, or any other service of yours (by the way, our next 2.11.0 will allow you to serialize the DataSourceRequest object).

You can read more about this in the grid data binding documentation: https://docs.telerik.com/blazor-ui/components/grid/columns/bound#notes

You can verify that using a database works seamlessly (of course, through a service) from our live demos: (For instance, try to search for Product 45):
https://demos.telerik.com/blazor-ui/grid/filter-row

 

Regards,
Eyup
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Grid
Asked by
Ed
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Eyup
Telerik team
Share this question
or