Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load Filter options dynamically #1034

Open
kunalwatkar opened this issue Feb 19, 2018 · 0 comments
Open

Load Filter options dynamically #1034

kunalwatkar opened this issue Feb 19, 2018 · 0 comments

Comments

@kunalwatkar
Copy link

Hi,

I have multiSelect filter on my ng-table. My filter options are being populated from current dataset and on some conditions I load new dataset. Once I have a new dataset, I am able to see my new data in table. But my filter options are not populated.

I use filter-data directive to pass filter options (array from my controller), but I am not able to see new filter options on my page. Any idea how can I achieve it?

Here is my HTML/PUG view for td:

// Status
                            td.input-xxs.activity-status(
                                data-title="'Status'"
                                header-class="'activity-status'"
                                filter="{'company.status': 'select-multiple'}"
                                filter-data="aCtrl.statusFilterData"
                                sortable="'company.status'")
                                | [[aCtrl.setDisplayText(rec.company.status, aCtrl.opCompanyStatus)]]

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant