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

How to access GroupHeaderItem from both client and server side?

1 Answer 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Elton
Top achievements
Rank 1
Elton asked on 27 Feb 2008, 09:41 AM
Hello guys

I m using grouping with prometheus grid.

I wanna access GroupHeaderItem from javascript and C# code.

I tried RadGrid.Items which just give me dataItems...

Any idea on this?

Regards,
Elton

1 Answer, 1 is accepted

Sort by
0
Prangadj
Top achievements
Rank 1
answered on 29 Feb 2008, 02:47 PM
Try the GetItems(itemType) method on server-side. Example:

foreach (GridItem item in RadGrid1.MasterTableView.GetItems(GridItemType.GroupHeader)  
{  
  //do something  
}  
 

On client-side hook the OnRowCreated client event.

Prangadj
Tags
Grid
Asked by
Elton
Top achievements
Rank 1
Answers by
Prangadj
Top achievements
Rank 1
Share this question
or