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

Pass additional information in the action #152

Open
fdiengdoh opened this issue May 22, 2021 · 0 comments
Open

Pass additional information in the action #152

fdiengdoh opened this issue May 22, 2021 · 0 comments

Comments

@fdiengdoh
Copy link

fdiengdoh commented May 22, 2021

I encountered this pull request which would allow for custom action parameter (#20). So I edit my jquery.tabledit.js to match it.

Then in my table file I added this customization:

editButton: false,
customize: {
    actionParam: 'ajax=add-info&action'    //change to what parameter you want to pass
},
columns: {
    identifier: [0, 'id'],
    editable: [..

Now the action will include the extra ajax=add-info option.

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