marmelab / ng-admin

Add an AngularJS admin GUI to any RESTful API
http://ng-admin-book.marmelab.com/
MIT License
3.95k stars 725 forks source link

[Question] Filters object #1301

Closed Phocea closed 7 years ago

Phocea commented 7 years ago

Scope

I would like to rebuild the filter section of a ListView using a function rather than a static configuration. I also would like to be I have a few questions than may help me in my analysis

Description

Thanks for the help :)

Phocea commented 7 years ago

@fzaninotto, @jpetitcolas any hints if you have a minute ?

Specifically regarding the second above point, I can access the listview filters using a directive, but not the current values of the filters. How could we go easily about grabbing this without reinventing the wheel ?

Phocea commented 7 years ago

FYI problem was solved by using the llCtrl.search in our directive. Using this binding we can easily dynamically retrieve the filters

chenyaoyi110 commented 7 years ago

Hi @Phocea , I have the same problem, could you tell me what did you do for this? thank you very much