Skip to content

ThoriumStack/js-filter-expression-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

js-filter-expression-builder

Build Dynamic Linq Filter Expressions in JavaScript

Example Usage

let fxb = new FilterExpressionBuilder();
fxb.setPage(0, 50); // set the current page index to zero, with pages of size 50
fxb.addParameter('Lastname', 'Jefferson', 'text'); // parameter types are 'text' or 'number'
fxb.sortDescending('Lastname');
let searchObject = fxb.getSearchParams();

Useful in conjunction with the Data Tools library, which has the C# model for the expression.

About

Build Dynamic Linq Filter Expressions in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published