Hi,
For one of the columns in my gridview, I need to use an ItemsControl. That column is bound to a variable list of 'events', which are strings. For each of these events, a link/button needs to be generated in the column.
My column is defined as follows:
The problem is that this column makes the rendering of each row very slow. Without this row however, the grid is rendered fast.
Anyone experienced the same problem or knows what the problem is? That would be great!
For one of the columns in my gridview, I need to use an ItemsControl. That column is bound to a variable list of 'events', which are strings. For each of these events, a link/button needs to be generated in the column.
My column is defined as follows:
<
telerik:GridViewDataColumn
Header
=
"Actions"
>
<
telerik:GridViewColumn.CellTemplate
>
<
DataTemplate
>
<
ItemsControl
ItemsSource
=
"{Binding Path=Events}"
>
<
ItemsControl.ItemTemplate
>
<
DataTemplate
>
<
Button
cal:Message.Attach
=
"ExecutePipEvent($dataContext)"
Content
=
"{Binding}"
/>
</
DataTemplate
>
</
ItemsControl.ItemTemplate
>
<
ItemsControl.ItemsPanel
>
<
ItemsPanelTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
/>
</
ItemsPanelTemplate
>
</
ItemsControl.ItemsPanel
>
</
ItemsControl
>
</
DataTemplate
>
</
telerik:GridViewColumn.CellTemplate
>
</
telerik:GridViewDataColumn
>
The problem is that this column makes the rendering of each row very slow. Without this row however, the grid is rendered fast.
Anyone experienced the same problem or knows what the problem is? That would be great!