Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieve Filter List Like Selected List #118

Closed
EngElnady opened this issue May 5, 2020 · 1 comment
Closed

Retrieve Filter List Like Selected List #118

EngElnady opened this issue May 5, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@EngElnady
Copy link

EngElnady commented May 5, 2020

Hello, thank you for your great work.
Could we retrieve the list of filtered items as you retrieved th list of selected items

qqq

@IvanJosipovic IvanJosipovic added the enhancement New feature or request label May 5, 2020
@IvanJosipovic
Copy link
Owner

You can retrieve the filtered items using the reference:

<Table TableItem="PersonData" Items="data" PageSize="15" @ref="Table">
    <Column TableItem="PersonData" Title="Id" Field="@(x => x.id)" Filterable="true" Width="10%"/>
    <Pager ShowPageNumber="true" ShowTotalCount="true" />
</Table>

@code
{
    private ITable<PersonData> Table;

    private PersonData[] data;

    protected override async Task OnInitializedAsync()
    {
        Table.FilteredItems...
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants