Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
550
webdatatgrid template columns
posted

webdatatgrid template columns

1) need an way to implement TemplatedColumn  in wdg.

proteed void Grid_InitializeRow(object sender, RowEventArgs e)
{
if (e.Row != null)
{
TemplatedColumn primary = (TemplatedColumn)e.Row.Items.FindItemByKey("name").Column;   //  what is an alternative for TemplatedColumn
GridRecordItem cellItemPrimary = (GridRecordItem)primary.CellItems[e.Row.Index];  // is this correct?

}

}

2) how to implement   CellItems  in webdatagrid

GridField cellItemfirst = (GridField)first.CellItems[e.Row.Index];

3)find control on webdatagrid

 Image secImage = (Image)cellItemSecondary.findcontrol("imgcol");

----------------------------------