GridColumnGroup put Tooltip for SubItens

3 posts, 0 answers
  1. Adler
    Adler avatar
    10 posts
    Member since:
    Feb 2014

    Posted 13 Nov 2015 Link to this post

    Hello,

     

    I have GridColumnGroup and need on mouseover in label(1,2,3) of Item of GridColumnGroup, show Tooltip with one description,

    how i do this???

     

    <telerik:RadGrid ID="gridTab4_2015" runat="server" AutoGenerateColumns="False" EnableTheming="False" AllowSorting="true" OnItemDataBound="gridTab4_2015_ItemDataBound" Skin="Silk" DataSourceID="odsTab4" ShowFooter="True">
                                        <MasterTableView DataSourceID="odsTab4">
                                            <ColumnGroups>
                                                <telerik:GridColumnGroup Name="CorpoDocente" HeaderText="Corpo Docente" HeaderStyle-HorizontalAlign="Center" >
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                </telerik:GridColumnGroup>
                                            </ColumnGroups>
                                            <Columns>
                                                <telerik:GridBoundColumn HeaderText="Pos." DataField="nu_posicao">
                                                    <ColumnValidationSettings>
                                                        <ModelErrorMessage Text="" />
                                                    </ColumnValidationSettings>
                                                </telerik:GridBoundColumn>
                                                <telerik:GridBoundColumn HeaderText="1" DataField="nu_media_ponderada_Q1" HeaderStyle-HorizontalAlign="Center" ColumnGroupName="CorpoDocente">
                                                    <ColumnValidationSettings>
                                                        <ModelErrorMessage Text="" />
                                                    </ColumnValidationSettings>
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="Center" />
                                                </telerik:GridBoundColumn>
                                                <telerik:GridBoundColumn HeaderText="2" DataField="nu_media_ponderada_Q2" HeaderStyle-HorizontalAlign="Center" ColumnGroupName="CorpoDocente">
                                                    <ColumnValidationSettings>
                                                        <ModelErrorMessage Text="" />
                                                    </ColumnValidationSettings>
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="Center" />
                                                </telerik:GridBoundColumn>
                                                <telerik:GridBoundColumn HeaderText="3" DataField="nu_media_ponderada_Q3" HeaderStyle-HorizontalAlign="Center" ColumnGroupName="CorpoDocente">
                                                    <ColumnValidationSettings>
                                                        <ModelErrorMessage Text="" />
                                                    </ColumnValidationSettings>
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="Center" />
                                                </telerik:GridBoundColumn>
                                               
                                            </Columns>
                                        </MasterTableView>
                                    </telerik:RadGrid>​

  2. Adler
    Adler avatar
    10 posts
    Member since:
    Feb 2014

    Posted 13 Nov 2015 in reply to Adler Link to this post

    I no wanna show Tooltip for "Corpo Docente", only for subitens ( nu_media_ponderada_Q1,nu_media_ponderada_Q2,nu_media_ponderada_Q3)
  3. Eyup
    Admin
    Eyup avatar
    3819 posts

    Posted 18 Nov 2015 Link to this post

    Hello Adler,

    Just set the HeaderTooltip for the columns themselves:
    <telerik:GridBoundColumn ... HeaderTooltip="Description 1">

    Hope this helps. Please give it a try and let me know if it works for you.

    Regards,
    Eyup
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top