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

How to call a gridder close function on button click #56

Open
Kaivalyashah09 opened this issue May 2, 2017 · 1 comment
Open

How to call a gridder close function on button click #56

Kaivalyashah09 opened this issue May 2, 2017 · 1 comment

Comments

@Kaivalyashah09
Copy link

I have different tabs on my webpage I want to be able to close the expander when I go to the another tab
how would I call the close function?

@tmurren
Copy link

tmurren commented Jun 18, 2018

This should work. Add it to the gridder JS file below the /* CLOSE BUTTON */ section. Basically you use the closeExpander(_this) on click.

$('.tab').on("click", function() {
   closeExpander(_this);
});

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

2 participants