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

GridViewRow template customization

0 Answers 56 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Piotr
Top achievements
Rank 1
Piotr asked on 15 Aug 2018, 06:29 PM

Hi.

I have RadGridView with some 12 columns defined. This grid is bound to list of business objects and is editable.

I would like some rows of the grid to have changed layout.

I was able to define and apply ControlTemplate for GridViewRow, to display row data in one TextBlock that has width equal to the width of the Grid.

This template works fine for rows selected by one of the businessobject properties (using DataTrigger)

But I need to further modify this Template in this way that, its width should be equal to the total width of the first 8 columns and the last 4 columns should be visible and editable as in standard grid row.

In existing threads i didn't found any soulution to this problem, so I would like to ask how can I achieve such an effect?

I am using RadGridView version 2018.1.

Thanks in advance.

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Piotr
Top achievements
Rank 1
Share this question
or