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

Radgrid Double click

2 Answers 48 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Bhakti
Top achievements
Rank 1
Bhakti asked on 26 Jan 2012, 12:16 AM
We have used Radgrid view and have fixed width of columns.ON double click of the row content we open a tab.
 When we stretch or increase the column width at runtime, it does show the complete bind text and after we double click the extended portion of the row, it does not get the event.
Following is the code example used

<telerik:GridViewDataColumn

                            ShowDistinctFilters="False"

                            Width="250"

                            >

                            <telerik:GridViewColumn.Header>

                                <TextBlock

                                    Text="Role Name"

                                    Style="{StaticResource HeaderTextBlockStyle}"

                                    >

                                </TextBlock>

                            </telerik:GridViewColumn.Header>

                            <telerik:GridViewColumn.CellTemplate>

                                <DataTemplate>

                                    <TextBlock

                                        Text="{Binding Path=RoleName}"

                                        TextTrimming="CharacterEllipsis"

                                        Width="250"

                                        >

                                        <TextBlock.ToolTip>

                                            <ToolTip

                                                Content="{Binding Path=RoleName}"

                                                Background="{StaticResource BlueBrush}"

                                                Style="{StaticResource ToolTipStyle}"

                                                >

                                            </ToolTip>

                                        </TextBlock.ToolTip>

                                    </TextBlock>

                                </DataTemplate>

                            </telerik:GridViewColumn.CellTemplate>

                        </telerik:GridViewDataColumn>

2 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 30 Jan 2012, 10:57 AM
Hi Bhakti,

I have tried to reproduce the behavior you mentioned but without any success. Could you take a look at the sample attached and let me know whether you can get the same issue on it ? Am I missing something ?  

Regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Bhakti
Top achievements
Rank 1
answered on 31 Jan 2012, 04:41 PM
Thanks we could solve this by setting the width of every grid column.
Tags
GridView
Asked by
Bhakti
Top achievements
Rank 1
Answers by
Maya
Telerik team
Bhakti
Top achievements
Rank 1
Share this question
or