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
Exposing model for #link-to in each row. #2
Comments
You can use the {{t.body onRowClick=(action 'rowClicked')}} |
Yep! I guess if I extend from the component class rather than the controller class, then I might run into some problems. That's maybe why a link-to helper with the model instance might be nice to expose in the template. But now that I think about it, I probably shouldn't declare the table with a component class if I want some query params in the url as well. :) |
You can always use the See docs here |
Thx! |
Great project by the way! So much more I can get out of a grid with this add on.
So I am trying to figure out how each row could be wrapped with a link-to (if there already isn't one!). Not exactly sure, but does the row variable contain the model instance? If so, would exposing the row variable in hash be one solution to this?
https://github.com/offirgolan/ember-light-table/blob/master/addon/templates/components/lt-body.hbs#L7
The text was updated successfully, but these errors were encountered: