ListView with tooltip

Hi!
I would like to know if there is a way to have a tooltip on each Checklist item in the SfListView I saw there is an option in ListViewFieldSettings, but this tooltip can change the style? or use the SfTooltip
can be this possible through ListView templates or is there another option
Thanks

1 Reply 1 reply marked as answer

IL Indhumathy Loganathan Syncfusion Team January 27, 2021 12:00 PM UTC

Hi Adriana, 
 
Greetings from Syncfusion support. 
 
We have validated your reported query and prepared a ListView sample with Tooltip on list items. We have included Tooltip for list items using OnRender event. 
 
Please refer to the below code snippet, 
 
    public void onRender(TooltipEventArgs args) 
    { 
        for (int i = 0; i < Data.Count; i++) 
        { 
            if (args.Target.ID == "_" + Data[i].Id) 
            { 
                tooltip.Content = Data[i].Text; 
            } 
        } 
    } 
 
Please find the sample demonstrating the solution. 
 
Check out the following links to know more about Blazor ListView component. 
 
 
 
 
Please, let us know if you have any concerns. 
 
Regards, 
Indhumathy L 


Marked as answer
Loader.
Up arrow icon