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

GridViewColumnGroup Wrapping Problem

2 Answers 82 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Hans
Top achievements
Rank 1
Hans asked on 24 Nov 2011, 12:28 PM

We using the new feature of grouping columns in our business application.
This works fine:

<

telerik:RadGridView.ColumnGroups>

    <telerik:GridViewColumnGroup Name="Sample" Header="SomeTextSomeTextSomeTextSomeTextSomeTextSomeText"/>

 </telerik:RadGridView.ColumnGroups>

This not (Exception during runtime):

<telerik:RadGridView.ColumnGroups>

    <telerik:GridViewColumnGroup Name="Sample">
        <telerik:GridViewColumnGroup.Header>
            <StackPanel>
                <TextBlock Text="SomeTextSomeText"/>
                <TextBlock Text="SomeTextSomeText"/>

            </StackPanel>

        </telerik:GridViewColumnGroup.Header>
    </telerik:GridViewColumnGroup>

 </telerik:RadGridView.ColumnGroups>

I think its a bug?

2 Answers, 1 is accepted

Sort by
0
Accepted
Pavel Pavlov
Telerik team
answered on 24 Nov 2011, 05:31 PM
Hello Hans,

We have a known issue when adding UIElements as headers.  Since a platform limitation prevents us for providing a descent fix, we are going to provide an alternative solution.

Since the very next internal build ( expected next monday)  an additional HeaderTemplate property will be added. This will allow placing visual elements without the issue you have encountered.

The LIB  with the improvement will be available for download at the beginning of the next week in your client account.

Kind regards,
Pavel Pavlov
the Telerik team

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

0
Hans
Top achievements
Rank 1
answered on 28 Nov 2011, 10:04 AM
Thank you very much!
Tags
GridView
Asked by
Hans
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Hans
Top achievements
Rank 1
Share this question
or