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

Is it possible for the modal to be triggered by clicking in a row in an aldeed:tabular table? #74

Open
puddicombe opened this issue Jan 9, 2016 · 3 comments

Comments

@puddicombe
Copy link

No description provided.

@jpmelnik
Copy link

Yes.

Add somethig like this into your tabular

{
data : null,
title : "Actions",
tmpl: Meteor.isClient && Template.Actions,
tmplContext: function (rowData) {
return {
item: rowData
};
}
}

Create Template Actions and here define yours modal buttos.

@puddicombe
Copy link
Author

Thank you - but I didn't mean by clicking on a modal button in a column, but actually clicking on the data in row itself? Can such a click event be used to trigger the afmodal appearing?

@jpmelnik
Copy link

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