public override void InitializeCell(DataControlFieldCell cell, DataControlCellType cellType, DataControlRowState rowState, int rowIndex)
{
base.InitializeCell(cell, cellType, rowState, rowIndex);
if (ColumnStyle != null)
{
if (HeaderStyle.CssClass.IsNullOrEmpty()) HeaderStyle.CssClass = ColumnStyle;
if (ItemStyle.CssClass.IsNullOrEmpty()) ItemStyle.CssClass = ColumnStyle;
if (FooterStyle.CssClass.IsNullOrEmpty()) FooterStyle.CssClass = ColumnStyle;
}
if (Width != null)
{
ItemStyle.Width = Unit.Parse(Width);
}
if (cellType == DataControlCellType.DataCell)
{
//ItemTemplate =
if (!_tooltip.IsNullOrEmpty()) cell.ToolTip = _tooltip;
}
}