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

New event handler resiazbleStopResize #1444

Closed
asapostolov opened this issue Aug 9, 2017 · 2 comments
Closed

New event handler resiazbleStopResize #1444

asapostolov opened this issue Aug 9, 2017 · 2 comments

Comments

@asapostolov
Copy link

asapostolov commented Aug 9, 2017

Hey there!

I needed to add a new event handler in order to be able to sync and save column sizes on the server.

So I added this code at the end of stopResize event in Resizable widget:

c.$table.triggerHandler('resiazbleStopResize');

And I can bind to this event handler via:

$table.bind("resiazbleStopResize", function (e, table) {
    alert("resiazbleStopResize");
});

I wondered if this would be a desirable functionality for me to make a pull request for? It's really simple and needs a little bit of documentation.

@Mottie
Copy link
Owner

Mottie commented Aug 9, 2017

Hi @asapostolov!

That's fine! I can add it if you don't want to, but I would prefer to use resizeComplete instead of resizeStopResize... it makes more sense to me.

@Mottie
Copy link
Owner

Mottie commented Sep 28, 2017

Added in v2.29.0 - see docs.

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

2 participants