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

Allow expressions in the sortable attribute #93

Closed
elnur opened this issue Oct 23, 2013 · 2 comments
Closed

Allow expressions in the sortable attribute #93

elnur opened this issue Oct 23, 2013 · 2 comments
Milestone

Comments

@elnur
Copy link

elnur commented Oct 23, 2013

I need to be able to choose a column to sort on dynamically like in the following example:

<td sortable="folder === 'inbox' ? 'from.username' : 'to.username'">

Currently, it's not possible because the sortable attribute accepts a literal instead of an expression.

If there's a workaround I could apply now, please tell me about it.

@elnur
Copy link
Author

elnur commented Oct 23, 2013

I've found that #82 implemented the feature but for some reason a newer commit overwrote it. Could you restore it back please?

@esvit esvit closed this as completed in 57673b3 Nov 5, 2013
@elnur
Copy link
Author

elnur commented Nov 5, 2013

Great. Thanks.

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