-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
How can i integrate a component base addon into a custom cell type. #437
Comments
You can always use a custom |
@alcance how are you defining your columns / table? |
@alexander-alvarez I think @alcance has it set up correctly (as the mouse events do fire), but he does not know how to set a custom template to that cell. @alcance If using a |
Thanks @alexander-alvarez. Yes, @buschtoens. I tried Seems that the last option is the most viable, will try that and update this issue. Thanks for the feedback |
With pods this should work. // app/components/light-table/cells/base-tooltip/component.js
import Cell from 'ember-light-table/components/cells/base';
import layout from './template';
export default Cell.extend({
layout,
// ...
}); {{!-- app/components/light-table/cells/base-tooltip/template.hbs --}}
{{value}}
{{tooltip-on-component text='Here is more info!'}} |
Ended using lastest solution presented. Thank you. |
I would like to integrate a tooltip for base cells. (https://github.com/sir-dunxalot/ember-tooltips#is-shown)
I started creating a custom cell type:
ember g cell-type base-tooltip
I can see mouse entering event, but how can i add the actual component to the template?
It seems that his feature was put on hold: #55
Is there anyway I can have a custom template for this or an alternative to accomplish this?
Thanks!
The text was updated successfully, but these errors were encountered: