This is a migrated thread and some comments may be shown as answers.

Grid Hierarchy and boostrap tooltips

1 Answer 90 Views
Grid
This is a migrated thread and some comments may be shown as answers.
François
Top achievements
Rank 1
François asked on 26 Sep 2017, 11:47 AM

In order to use Boostrap tooltips, I have the following on my page.

$(document).ready(function() {

        $('[data-toggle="tooltip"]').tooltip();
    });

 

However, when using a grid with hierarchy, the tooltips of the details grids are not rendered yet so the above method cannot work for them.
Are there some events that I can hook to when the details grids appear?

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 29 Sep 2017, 07:08 AM
Hello,

In order to implement the behavior you can use the Grid detailExpand event. In this event, you can attach a handler for the dataBound event of the detail Grid. DataBound is raised after the data is retrieved and you will be able to use the data for any custom logic that is required. 

Check out the dojo example below that outlines the approach.



Regards,
Viktor Tachev
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
François
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or