This question is locked. New answers and comments are not allowed.
Hi,
I want save the filters used and as said in title restore the filter the next time the user comes.
I thinking of using a list of FilterDescriptor that I can easily fill with the GridCommand.FilterDescriptors.
But how can I load my filter ?
In my aspx I would like to do something like that:
.Filterable(filtering =>
{
for (int i = 0; i < Model.LstFilter.Count; i++)
{
if(Model.LstFilter[i].Operator.equals("Contains"){
filtering.Filters(filtre => filtre.Add(Model.LstFilter[i].Member).Contains(Model.LstFilter[i].Value.ToString()));
}
}
})
I want save the filters used and as said in title restore the filter the next time the user comes.
I thinking of using a list of FilterDescriptor that I can easily fill with the GridCommand.FilterDescriptors.
But how can I load my filter ?
In my aspx I would like to do something like that:
.Filterable(filtering =>
{
for (int i = 0; i < Model.LstFilter.Count; i++)
{
if(Model.LstFilter[i].Operator.equals("Contains"){
filtering.Filters(filtre => filtre.Add(Model.LstFilter[i].Member).Contains(Model.LstFilter[i].Value.ToString()));
}
}
})