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

Repair autoFilter, false option not work #160

Closed
ilysamo opened this issue Jan 9, 2019 · 1 comment
Closed

Repair autoFilter, false option not work #160

ilysamo opened this issue Jan 9, 2019 · 1 comment

Comments

@ilysamo
Copy link

ilysamo commented Jan 9, 2019

Please, change our code (buttons.html5.js) from this:

	// Auto filter for columns
		$('mergeCells', rels).before(_createNode(rels, 'autoFilter', {
			attr: {
				ref: 'A' + dataStartRow + ':' + createCellPos(data.header.length - 1) + dataEndRow
			}
		}));

To this:

	// Auto filter for columns
	if (config.autoFilter) {
		$('mergeCells', rels).before(_createNode(rels, 'autoFilter', {
			attr: {
				ref: 'A' + dataStartRow + ':' + createCellPos(data.header.length - 1) + dataEndRow
			}
		}));
	}
@DataTables
Copy link
Collaborator

Thank you!

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