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

Individual Search Columns in the footer with ScrollX not searching properly #540

Closed
krishnapandya26 opened this issue Jan 22, 2019 · 8 comments

Comments

@krishnapandya26
Copy link

When the filters are placed in the footer in combination with the ScrollX, the reset button does not work and the filter type "range_date" does not filter the data.
Provided the following jsfiddle, https://jsfiddle.net/jxhp4Lgu/2/

Also, I want to add fixedColumns in the datatables,but the filter for the fixedColumns does not filter the data correctly.Provided the following jsfiddle,https://jsfiddle.net/y17rtfej/ for the fixedColumns

Can you please also let me know what is the correct way to add footer to the table?

@vedmack
Copy link
Owner

vedmack commented Jan 27, 2019

The issues related to footer will be fixed, as to the fixed column:

At the moment there is no support with fixed columns because of luck of an API to integrate with (yadcf does support fixedHeaders)

#388 (comment)

@krishnapandya26
Copy link
Author

Thank you for the reply. I will wait for the bug to be fixed.

vedmack added a commit that referenced this issue Jan 28, 2019
bugs fix
#534 - initMultipleTables trows a TypeError: "tablesArray[i] is undefined"
#540 - Individual Search Columns in the footer with ScrollX not searching properly
@vedmack
Copy link
Owner

vedmack commented Jan 28, 2019

fixed in 0.9.4.beta.14
see working test page

@vedmack vedmack closed this as completed Jan 28, 2019
@krishnapandya26
Copy link
Author

Thank you for the quick fix.
In my application I have used datatables at many places and I donot use "scrollX" for all the tables.
So, I have some tables with "scrollX" and some without "scrollX". The fix doesnot work for type "range_date" for tables without "scrollX".

@vedmack
Copy link
Owner

vedmack commented Jan 28, 2019

it worked before? again, always provide a jsfiddle test page so I can see the issue

@vedmack vedmack reopened this Jan 28, 2019
@krishnapandya26
Copy link
Author

Yes it worked before for tables without "scrollX".

These are the jsfiddle for -

  1. Without "scrollX" and older version* - http://jsfiddle.net/2w61x9kh/1/ - works perfectly
  2. With "scrollX" and older version - http://jsfiddle.net/2w61x9kh/2/ - didnot work with "range_date" and reset button
  3. Without "scrollX" and version 0.9.4.beta.14 - http://jsfiddle.net/5jhpobyz/1/ - issue with "range_date"
  4. With "scrollX" and version 0.9.4.beta.14 - http://jsfiddle.net/5jhpobyz/ - works perfectly

*older version I used in my application was - version 0.9.4.beta.10

@vedmack
Copy link
Owner

vedmack commented Jan 29, 2019

@krishnapandya26 fixed in 0.9.4.beta.15

@Namoshek
Copy link

This issue seems to also apply to basic select filters (select2/chosen not tested). With scrollX, using select filters in the table footer doesn't work. Am I doing something wrong or is it possible your fix doesn't apply to select filters?

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