Using GridViewCell template you can create your own template columns in less than a minute:

<telerik:RadGridView Name="RadGridView1" IsFilteringAllowed="False" IsReadOnly="True" ShowGroupPanel="False" AutoGenerateColumns="False">
    <telerik:RadGridView.Columns>
        <telerikGridView:GridViewDataColumn HeaderText="ID" UniqueName="ID" />
        <telerikGridView:GridViewDataColumn Width="400" HeaderText="Name" UniqueName="Name">
            <telerikGridView:GridViewDataColumn.CellStyle>
                <Style TargetType="telerikGridView:GridViewCell">
                    <Setter Property="Template">
                        <Setter.Value>
                            <ControlTemplate TargetType="telerikGridView:GridViewCell">
                                <StackPanel>
                                    <HyperlinkButton Content="{Binding Name}" TargetName="_blank" 
                                    NavigateUri="{Binding Url}">
                                    </HyperlinkButton>
                                    <TextBlock HorizontalAlignment="Left" Width="400" Text="{Binding Description}" TextWrapping="Wrap">
                                    </TextBlock>
                                </StackPanel>
                            </ControlTemplate>
                        </Setter.Value>
                    </Setter>
                </Style>
            </telerikGridView:GridViewDataColumn.CellStyle>
        </telerikGridView:GridViewDataColumn>
    </telerik:RadGridView.Columns>
</telerik:RadGridView>
Untitled

[Download]


About the Author

Vladimir Enchev

is Director of Engineering, Native Mobile UI & Frameworks

Comments

Comments are disabled in preview mode.