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

GridView and Grouping

1 Answer 102 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sanjeev Jaswal
Top achievements
Rank 1
Sanjeev Jaswal asked on 15 Oct 2009, 08:20 PM
Hi,

I have following questions:

1. Can we have a RadGridView grouping similar to MS Outlook, where we have items grouped like "Today", "Yesterday" etc.
In the online samples, grouping works similar to that but it shows it as tree kind of and a vertical band line. Can we remove that (vertical band line on left side) and show the child items in simple row?

2. How we can add image to the Row selector (not as a column) and also how to add image to a column using code?
3. How we can hide (remove) RadGridView Header and Grouping title bar area?

Thanks,
Sanjeev

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 20 Oct 2009, 10:32 AM
Hi Sanjeev,

Find my answers in order:
  1. The grid did not have this behavior currently. However you can create a simple view model that will have this grouping properties as properties on your view model. Then the grid will be able to group by this properties. You can style the group using the GroupRowStyle property on RadGrdiView.
  2. You can style GroupIndicatorPresenter that is used in the indicator column. You can use GridViewImageColumn to display a image in a column.
  3. You can use ShowGroupPanel and ShowColumnHeaders properties of RadGridView.

Hope this helps.

Sincerely yours,
Stefan Dobrev
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
Sanjeev Jaswal
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or