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

Enhancement for displaying filters at the footer #85

Closed
poilapan opened this issue Sep 23, 2014 · 2 comments
Closed

Enhancement for displaying filters at the footer #85

poilapan opened this issue Sep 23, 2014 · 2 comments

Comments

@poilapan
Copy link

According to the Google group for yadcf in this link (https://groups.google.com/d/topic/daniels_code/PuUtdSTblGw/discussion), currently there is no option to insert a filter for Datatables at the footer instead of header, however this is more of a feature request and as such could be an enhancement for future versions of yadcf.

@Muhahe
Copy link

Muhahe commented Sep 24, 2014

I think its possible by using filter_container_id:, by this you can specify external filter. In another words, you can specify element in dom where filter will be displayed, so probably even datatables footer

vedmack added a commit that referenced this issue Oct 16, 2014
* New Feature, filters can be placed in the footer or header #85
* New Feature, filter_type: 'custom_func' support state saving #92
@vedmack
Copy link
Owner

vedmack commented Oct 16, 2014

added in 0.8.5.beta.3, see showcase http://yadcf-showcase.appspot.com/ajax_source.html

Note that you must have ... in order to be able to place the filters in the footer.

  • Filters can be placed in the header (thead) or in the footer (tfoot) , it is defined by the second argument of yadcf constructor
    or third argument of init function. Header location is the default position, use 'footer' in order to place the filters in the tfoot position

@vedmack vedmack closed this as completed Oct 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants