You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
560 B
23 lines
560 B
// Copyright (c) MudBlazor 2021
|
|
// MudBlazor licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
namespace Connected.Components;
|
|
|
|
public class GridState<T>
|
|
{
|
|
public int Page { get; set; }
|
|
|
|
public int PageSize { get; set; }
|
|
|
|
public ICollection<SortDefinition<T>> SortDefinitions { get; set; }
|
|
|
|
public ICollection<FilterDefinition<T>> FilterDefinitions { get; set; }
|
|
}
|
|
|
|
public class GridData<T>
|
|
{
|
|
public IEnumerable<T> Items { get; set; }
|
|
public int TotalItems { get; set; }
|
|
}
|