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

Send complete event when clicked on row or checkbox #13

Closed
sthawali opened this issue Jul 7, 2014 · 3 comments
Closed

Send complete event when clicked on row or checkbox #13

sthawali opened this issue Jul 7, 2014 · 3 comments

Comments

@sthawali
Copy link

sthawali commented Jul 7, 2014

No description provided.

@wenzhixin
Copy link
Owner

Do you mean onCheck event?

@sthawali
Copy link
Author

sthawali commented Jul 8, 2014

Yes, but not only onCheck, if possible then for all.(onClickRow, onCheck, onUncheck, onCheckAll, onUncheckAll)

@wenzhixin
Copy link
Owner

http://wenzhixin.net.cn/p/bootstrap-table/docs/documentation.html#events

You can use:

$('#table').bootstrapTable({
        onAll: function(name, args) {
            console.log('Event:', name, ', data: ', args);
        }
});

or:

$('#table').bootstrapTable().on('all.bs.table', function(e, name, args) {
    console.log('Event:', name, ', data:', args);
});

wenzhixin pushed a commit that referenced this issue Jan 30, 2015
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