Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

SPGridView two level grouping

  Asked By: Bhavika    Date: Dec 10    Category: Sharepoint    Views: 3642

i,m developing webpart in which i,m using spgridview

i want two level grouping(month and date).

i have checked out spgridview but it allows only one level grouping.

can we archive two level grouping?



1 Answer Found

Answer #1    Answered By: Josie Barron     Answered On: Dec 10

The SPGridView is essentially a SharePoint specific copy of the standard ASP.NET
gridview control. To do two level  grouping you will have to use the ItemBound
event of the SPgridview to change the formatting of the rows and insert summary
or group header rows. The following article provides information on how to do
this with a standard gridview. The code provide should work for an SPgridview
as well.


Didn't find what you were looking for? Find more on SPGridView two level grouping Or get search suggestion and latest updates.