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

GridColumnGroup put Tooltip for SubItens

2 Answers 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Adler
Top achievements
Rank 1
Adler asked on 13 Nov 2015, 05:18 PM

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 Answers, 1 is accepted

Sort by
0
Adler
Top achievements
Rank 1
answered on 13 Nov 2015, 05:20 PM
I no wanna show Tooltip for "Corpo Docente", only for subitens ( nu_media_ponderada_Q1,nu_media_ponderada_Q2,nu_media_ponderada_Q3)
0
Eyup
Telerik team
answered on 18 Nov 2015, 12:57 PM
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
Tags
Grid
Asked by
Adler
Top achievements
Rank 1
Answers by
Adler
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or