- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2018 07:33 AM
Hi,
I am using ADF 2.3.0 and ACS 5.2.1 to configure Data Column Component in Document list component.
Without column template, tooltip works just fine.
But when column template is provided for any data-column like
or
the tooltip for that column does not show the value. Instead of showing the row value, it shows the title of the column(i.e., Name) in above case.
I even tried to use custom tooltip using formatTooltip function but it seems it does not work when column template is provided.
Can you help guide me here? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2018 06:07 AM
Okay.. so here is how it worked.
The "title" attribute in the <span> renders the tooltip. If this is not provided, by default the data-column 'title' is displayed.
This situation is only when custom template is used.
Denys Vuika‌ - Thanks for the guidance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2018 12:09 PM
Why not setting the "title" attribute for the span in your custom template?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2018 03:17 AM
Hi Denys,
I am not sure if I understand that. Do we do something like this?
because this does not work either.
Can you please elaborate on how we can achieve it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2018 03:38 AM
When you override the template you need to evaluate and provide the tooltip as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2018 06:07 AM
Okay.. so here is how it worked.
The "title" attribute in the <span> renders the tooltip. If this is not provided, by default the data-column 'title' is displayed.
This situation is only when custom template is used.
Denys Vuika‌ - Thanks for the guidance!