Posted 19 July 2021, 5:19 pm EST
Hi,
I’m evaluating many grids as I’m moving away from the the jquery depenendent slickgrid with the aurelia 1 framework. While I would love a pure declarative web component solution, I feel quite comfortable using purejs while you upgrade your web components. That said I need to deploy with the same feature set I currently have but I’m coming up short with the following
- filters via code
The following filter works.
let filter = new FlexGridFilter(this.theGrid);
//0=us
//strings 0 not set, 1 = equals,2 does not eq m 3 is >, 4 >=, 5 is >, 6 >=
//numbers 0 not set, 1 = equals,2 does not eq m 3 Begin, 4 Ends, 5 constains
filter.filterDefinition = ‘{ “defaultFilterType”: 3, “filters”: [{ “binding”: “country”, “type”: “value”, “filterText”: “”, “showValues”: {“0”: true } } ] }’;
================== - I need to add the following
{“defaultFilterType”: 5, “filters”: [{ “binding”: “downloads”, “type”: “value”, “filterText”: “”, “showValues”: {“5000”: true } } ]}
this filtering country=‘US’ and downloads > 5000 - I also need to suppy multiple sorts
product: assending
downloads: assending
I’ve tried quite a few things but have not succeeded. - I would like to know then you will have cell templates available for the web component product as I need buttons and anchor links
TIA
John
jrt@gtz.com
the attached zip src.zip