Skip to content

FluentToolTip in Template Column #2140

Answered by vnbaaij
ZnowuJa asked this question in Q&A
Discussion options

You must be logged in to vote

You are giving each type of button the same id in every row. Then you are adding the tooltip to that id, so it will always point that same id (which are the buttons in the first row)

To get a 'unique' id per button, you would need to do something like:

<TemplateColumn ...>
    @{
        var id = $"view-{context.id}";
    }
    <FluentButton Id="@id" ...</FluentButton>
   <FluentTooltip Anchor="@id" HideTooltipOnCursorLeave="true" Position=TooltipPosition.Left Delay=50>View Asset</FluentTooltip>
        
</TemplateColumn> 

Where '{context.id}' is some unique per row value

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ZnowuJa
Comment options

Answer selected by ZnowuJa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants