g1 issueshttps://code.gramener.com/cto/g1/-/issues2019-05-10T06:19:56Zhttps://code.gramener.com/cto/g1/-/issues/87$.filterhandler()2019-05-10T06:19:56ZPragnya Reddypragnya.reddy@gramener.com$.filterhandler()### Summary
Create dropdowns with unique values from data.
### Benefits
Gives user ability to generate dropdowns for usage in dashboard using simple config.
### Usage
```html
$('.product-list').filterhandler({
url: 'filters',
co...### Summary
Create dropdowns with unique values from data.
### Benefits
Gives user ability to generate dropdowns for usage in dashboard using simple config.
### Usage
```html
$('.product-list').filterhandler({
url: 'filters',
cols: ['product', 'city']
})
```
This should create two dropdowns with unique values from the columns product and city.
Extending along with the above, `$.filterhandler()` should be able to handle NavBar filters. Navbar filters include daterangepicker, multi/single select dropdowns, dropdowns that filter down items based on parent dropdowns.
The NavBar filters should have easy extension hooks to operate individually updating URL params or only on click on `<form>` Apply button.
The navBar filters component should have overridable template for "Applied filters" boxes with clear button for each value per UI control or clear all applied filters for same UI control
TejeshTejeshhttps://code.gramener.com/cto/g1/-/issues/82Create a dropdown component for filters2019-06-28T06:54:49ZS AnandCreate a dropdown component for filters- [x] Create a $.dropdown() that supports basic dropdown capability
- [x] Extend for multi-select
- [ ] Integrate with FilterHandler for multiple filters
- [ ] Integrate with FilterHandler for heirarchical filters- [x] Create a $.dropdown() that supports basic dropdown capability
- [x] Extend for multi-select
- [ ] Integrate with FilterHandler for multiple filters
- [ ] Integrate with FilterHandler for heirarchical filters1.51https://code.gramener.com/cto/g1/-/issues/78Implement a formhandler Tree View2018-12-19T16:08:43ZTejeshImplement a formhandler Tree ViewReferences:
https://docs.webix.com/desktop__treetable.html
https://frappe.io/datatable - Tree View section
https://gramener.invisionapp.com/d/main#/console/13753225/303473425/preview - BMGF project design linkReferences:
https://docs.webix.com/desktop__treetable.html
https://frappe.io/datatable - Tree View section
https://gramener.invisionapp.com/d/main#/console/13753225/303473425/preview - BMGF project design link