material-datatable icon indicating copy to clipboard operation
material-datatable copied to clipboard

Remote data and filter options

Open strowk opened this issue 5 years ago • 3 comments

There's one moment, which is either missing in documentation or not implemented.

Imagine I'm using remote data loading (https://github.com/Diaver/material-datatable#remote-data) and loading data page by page. So I load only the page, which user is looking at. I also already know all possible values for filters beforehand. Let's say column 'status' can be 'OK' or 'ERROR'. But the first page has only objects with 'OK'. Right now OOB shown possible values for filter would include only OK. How can I override that? If it's not possible, documentation should say that remote data loading is not fully supported, because basically it makes filters unusable.

strowk avatar Jan 16 '20 12:01 strowk

I am sorry, but there is no remote paging and filtering.

Diaver avatar Jan 17 '20 01:01 Diaver

Is it in the Milestones somewhere to add this feature. It makes sense to have this if data pagination is handled on server side

RabbidDog avatar Jul 08 '20 15:07 RabbidDog

You can make PR for that, if you wish.

Diaver avatar Jul 08 '20 15:07 Diaver