Use the LoadData
event to get data from a REST service.
ID | First Namefilter_alt | Last Namefilter_alt | Titlefilter_alt | Customersfilter_alt | Title Of Courtesyfilter_alt | Birth Datefilter_alt | Hire Datefilter_alt | Addressfilter_alt | Cityfilter_alt | Regionfilter_alt | Postal Codefilter_alt | Countryfilter_alt | Home Phonefilter_alt | Extensionfilter_alt | Notesfilter_alt |
---|
1. Set the Data and Count properties.
<RadzenDataGrid Count="@count" Data="@employees"
2. Handle the LoadData event and update the Data and Count backing fields (employees
and count
in this case).
async Task LoadData(LoadDataArgs args)
{
var result = await service.GetEmployees(filter: args.Filter, top: args.Top, skip: args.Skip, orderby: args.OrderBy, count: true);
employees = result.Value.AsODataEnumerable();
count = result.Count;
}
Whether you prefer a standalone environment or integration directly within Visual Studio, Radzen provides a powerful toolkit to increase development speed, reduce repetitive coding, and focus on building exceptional applications.
Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles.
Radzen Blazor for Visual Studio extension streamlines Blazor development within the Visual Studio environment. The Blazor extension you need to boost productivity!
Radzen Blazor Components, © 2018-2024 Radzen.
Source Code licensed under
MIT