Completed
Last Updated: 30 May 2016 12:35 by Vesko
Vesko
Created on: 07 Jan 2011 09:53
Category: GridView
Type: Bug Report
0
Tooltip sometimes do not show when applied through CellStyle and DataTrigger
Let your data column have a cell style with DataTrigger which sets the Tooltip depending on the value:

<telerik:GridViewDataColumn.CellStyle>
    <Style TargetType="telerik:GridViewCell">
        <Style.Triggers>
            <DataTrigger Binding="{Binding StadiumCapacity}" Value="42055">
                <Setter Property="ToolTip" Value="THIS IS TOO SMALL" />
                <Setter Property="Background" Value="Red" />
            </DataTrigger>
        </Style.Triggers>
    </Style>
</telerik:GridViewDataColumn.CellStyle>

Initially, when the grid loads - the tooltips are set correctly. But if you edit a cell and change its value to 42055 then the background is set to Red (as expected), but the tooltip does not update.
0 comments