protected override TableCell CreateContentCell(GridViewTableDataRow row, GridViewColumn column, int index, int visibleRowIndex)
 {
     if (column is GridViewDataColumn)
         return new GridViewTableDataCell(this, row, column as GridViewDataColumn, visibleRowIndex, ShouldRemoveLeftBorder(index), ShouldRemoveRightBorder(index));
     
     if (column is GridViewCommandColumn)
         return new ASPxSmartGridViewTableCommandCell(this, column as GridViewCommandColumn, visibleRowIndex, ShouldRemoveLeftBorder(index), ShouldRemoveRightBorder(index));
     
     if (column is GridViewBandColumn)
         return new GridViewTableEmptyBandCell(this, column, visibleRowIndex, ShouldRemoveLeftBorder(index), ShouldRemoveRightBorder(index));
     
     return RenderUtils.CreateTableCell();
 }
        protected override TableCell CreateContentCell(GridViewTableDataRow row, GridViewColumn column, int index, int visibleRowIndex)
        {
            if (column is GridViewDataColumn)
            {
                return(new GridViewTableDataCell(this, row, column as GridViewDataColumn, visibleRowIndex, ShouldRemoveLeftBorder(index), ShouldRemoveRightBorder(index)));
            }

            if (column is GridViewCommandColumn)
            {
                return(new ASPxSmartGridViewTableCommandCell(this, column as GridViewCommandColumn, visibleRowIndex, ShouldRemoveLeftBorder(index), ShouldRemoveRightBorder(index)));
            }

            if (column is GridViewBandColumn)
            {
                return(new GridViewTableEmptyBandCell(this, column, visibleRowIndex, ShouldRemoveLeftBorder(index), ShouldRemoveRightBorder(index)));
            }

            return(RenderUtils.CreateTableCell());
        }