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

Nested tables, metro theme change and SP1?

1 Answer 62 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Cameron Molyneux
Top achievements
Rank 1
Cameron Molyneux asked on 06 Oct 2011, 02:55 PM
We use nested tables in our grid and we have just upgraded to SP1 and have noticed a change to tge grid layout when using metro UI

(see attached)

I thought this might be the row indicator and I want to suppress it (as it takes up so much real estate)

Can it be turned off? or do i have to 'style' it out .. (if so can you help)

Thanks

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 06 Oct 2011, 05:43 PM
Hi Cameron,

 

As far as I can see you are referring to the row indicators in each grid control. You may remove it through setting RadGridView's RowIndicatorVisibility property to Collapsed. If you want to alter its appearance you may predefine the template of GridViewRow using Microsoft Expression Blend and modify the part named PART_IndicatorPresenter which hosts the elements of the row's indicator in the way you need.
Keep in mind that the styles used in our themes are theme specific. You should predefine the appearance of the row agains the Metro theme. We ship our themes as separate projects and you may get the xaml files for all Telerik themes from the Themes folder of your personal installation. Find the xaml file named GridViewRow.xaml in Metro theme project, copy it to your current project and modify it based on your requirements. Once you set the Metro theme to RadGridView this style will be handled correspondingly.


If you need sample project I will be glad to prepare a small demo illustrating this approach.

  

Kind regards,
Vanya Pavlova
the Telerik team

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

Tags
GridView
Asked by
Cameron Molyneux
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or