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

Conditional border for indent cell

1 Answer 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
TSRG - IT
Top achievements
Rank 1
TSRG - IT asked on 29 Jan 2010, 07:12 AM
Hi all,

I applied conditional properties to GridViewGroupRows via the Level property and Property Triggers - however I can't seem to find a similar property for IndentCells.

Is it possible to set conditional properties for the indent cell at different levels? Ie. I would like to have no borders for the indent cells at level 0, 1 - however I would like a right border for the rows in level 2. How would I do this?

Regards,

Tim.

1 Answer, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 01 Feb 2010, 01:43 PM
Hi Timothy Lin,

Both GridViewRow and GridViewGroupRow have an IndentPresenter which takes case of the indentation. Using DataTriggers it should be possible to apply a different background depending on the IndentLevel.

I hope this helps.

Best wishes,
Kalin Milanov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
TSRG - IT
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Share this question
or