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

Feature Request: Expose the colgroup item

0 Answers 41 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ken Lassesen
Top achievements
Rank 2
Ken Lassesen asked on 19 Feb 2010, 07:10 PM
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!

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Ken Lassesen
Top achievements
Rank 2
Share this question
or