How to access GroupHeaderItem from both client and server side?

2 posts, 0 answers
  1. Elton
    Elton avatar
    98 posts
    Member since:
    Oct 2007

    Posted 27 Feb 2008 Link to this post

    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?


  2. Prangadj
    Prangadj avatar
    174 posts
    Member since:
    Jan 2008

    Posted 29 Feb 2008 Link to this post

    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.

Back to Top