Feature Request: Expose the colgroup item

1 posts, 0 answers
  1. Ken Lassesen
    Ken Lassesen avatar
    37 posts
    Member since:
    Nov 2008

    Posted 19 Feb 2010 Link to this post

    When I walk thru the items passed to grid_ItemCreated I see the following items
    • GridCommandItem
    • GridPagerItem
    • GridHeaderItem
    • GridFilteringItem
    • GridDataItem
    • GridEditFormItem
    • GridFooterItem
    • GridCommandItem
    • GridPagerItem

    Which I have had fun using to customize the grid by adding attributes.  In the output I see:
      <colgroup>
        <col  />
        <col  />
        <col  />
        <col  />
        <col  />
      </colgroup>

    But there appears to be no associated item that I may use to add attributes to these items, i,e,

    void grid_ItemCreated(object sender, GridItemEventArgs e)  
            {  
                if (e.Item is GridColGroupItem)  
                {  
                    GridColGroupItem headItem = e.Item as GridColGroupItem;  
             
     
    Thanks!
Back to Top