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

Row indicator and Row Selected Style Promble

6 Answers 160 Views
GridView
This is a migrated thread and some comments may be shown as answers.
yong kong
Top achievements
Rank 1
yong kong asked on 20 Jun 2012, 06:47 AM


Telerik Silverlight version: 2012.2.607.1050 
RadGridView in the first load data, Row Indicator  and row selected style is error.
You can find error in  Scrolling 1 Billion Cells(http://demos.telerik.com/silverlight/#GridView/UIVirtualization )


It work well in RadControls for Silverlight Q1 2012 version . 
Attach file will display RadGridView work well in same sample  Silverlight Q1 2012 version .
.


6 Answers, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 22 Jun 2012, 02:40 PM
Hello,

Thank you for the feedback.

We will check the problem and will contact you as soon as we have more information.
 
Kind regards,
Yordanka
the Telerik team

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

0
Yordanka
Telerik team
answered on 05 Jul 2012, 11:56 AM
Hello yong,

Indeed, there is difference in the new version. With this version we added a new state of gridview row - unfocused, e.g. the state of the row when the grid is not focused. Once the grid get the focus, the row state will be changed to selected.
 
All the best,
Yordanka
the Telerik team

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

0
Sven J
Top achievements
Rank 2
answered on 10 Aug 2012, 07:20 AM
Hi

how can I change the color of the unfocused selected row?

Thanks in advance,
Sven
0
Vlad
Telerik team
answered on 10 Aug 2012, 08:39 AM
Hello,

 You can modify the state in the GridViewRow template using Blend. Please refer to our documentation about our Blend support. 

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Konstantinos
Top achievements
Rank 1
answered on 13 Dec 2012, 11:10 PM

Hi Vlad,

I have the same question with Sven and I don't want to use Blend. How can I modify the background color of the selected row when my WPF RadGridView is not focused? I use the following style trigger to restyle my rows:

<Common:RadGridViewWithSelectedItemsEditable.RowStyle>
    <Style TargetType="{x:Type telerik:GridViewRow}">
        <Style.Triggers>
            <DataTrigger Binding="{Binding DataContext.HighLight, RelativeSource={RelativeSource AncestorType=UserControl}}" Value="True">
                <Setter Property="Background" Value="Red"/>
                <Setter Property="Foreground" Value="Black"/>
            </DataTrigger>
            <DataTrigger Binding="{Binding DataContext.HighLight, RelativeSource={RelativeSource AncestorType=UserControl}}" Value="False">
                <Setter Property="Background" Value="Yellow"/>
                <Setter Property="Foreground" Value="Black"/>
            </DataTrigger>
        </Style.Triggers>
    </Style>
</Common:RadGridViewWithSelectedItemsEditable.RowStyle>

Thanks!
0
Vlad
Telerik team
answered on 14 Dec 2012, 07:48 AM
Hello,

 Actually any serious development for both Silverlight and WPF (and now Windows 8 XAML) is impossible without Blend.

Greetings,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
yong kong
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
Sven J
Top achievements
Rank 2
Vlad
Telerik team
Konstantinos
Top achievements
Rank 1
Share this question
or