private void radGridView1_CreateCell(object sender, GridViewCreateCellEventArgs e) { if (e.CellType == typeof(GridGroupContentCellElement)) { e.CellElement = new MyGridGroupContentCellElement(e.Column, e.Row); } }
private void RadGridView1CreateCell(object sender, GridViewCreateCellEventArgs e) { if (e.CellType == typeof(GridDetailViewCellElement)) { e.CellElement = new CustomDetailViewCellElement(e.Column, e.Row); } }
void radGridView1_CreateCell(object sender, GridViewCreateCellEventArgs e) { if (e.CellType == typeof(GridComboBoxCellElement)) { e.CellElement = new MyCombBoxCellElement(e.Column as GridViewDataColumn, e.Row); } }
void radGridView1_CreateCell(object sender, GridViewCreateCellEventArgs e) { if (e.CellType == typeof(GridDataCellElement) && (e.Column.Name == "Snacks" || e.Column.Name == "Beverages")) { e.CellType = typeof(ChartCellElement); } }
private void radGridView1_CreateCell(object sender, GridViewCreateCellEventArgs e) { if (e.CellType == typeof(GridRowHeaderCellElement) && e.Row.RowInfo is ExpandableGridViewFilteringRowInfo) { e.CellType = typeof(GridFilterExpandableCellElement); } }
void grdLister_CreateCell(object sender, GridViewCreateCellEventArgs e) { if (e.CellType == typeof(GridHeaderCellElement) && e.Column.HeaderText == "All") { e.CellType = typeof(CheckBoxHeaderCell); } }
private void RadGridView1_CreateCell(object sender, GridViewCreateCellEventArgs e) { if (e.CellType == typeof(GridSummaryCellElement) && e.Column.Name == "Dosage") { e.CellElement = new CustomSummaryCell(e.Column, e.Row); } }
private void GridView_CreateCell(object sender, GridViewCreateCellEventArgs e) { if (e.CellType == typeof(GridRowHeaderCellElement) && e.Row is GridDataRowElement) { e.CellType = typeof(SpreadsheetGridRowHeaderCellElement); } }
void radGridView1_CreateCell(object sender, GridViewCreateCellEventArgs e) { if (e.Column.Name == "Edit" && (e.Row is GridDataRowElement || e.Row is GridNewRowElement)) { e.CellType = typeof(CustomCell); e.CellElement = new CustomCell(e.Column, e.Row); } }
private void radGridView1_CreateCell(object sender, GridViewCreateCellEventArgs e) { if (e.Row is GridDataRowElement) { if (e.Column.Name == "CustomColumn") { e.CellType = typeof(CustomInfoCell); } } }
private void RadGridView1_CreateCell(object sender, GridViewCreateCellEventArgs e) { if (e.CellType == typeof(GridFilterCellElement)) { e.CellElement = new MyGridFilterCellElement((GridViewDataColumn)e.Column, e.Row); } else if (e.CellType == typeof(GridRowHeaderCellElement)) { e.CellElement = new MyGridRowHeaderCellElement(e.Column, e.Row); } }
protected override void OnCreateCell(object sender, GridViewCreateCellEventArgs e) { base.OnCreateCell(sender, e); if (e.Column == null) { return; } if (_supportEmbeddedControls) { GridViewDataColumn column = e.Column as GridViewDataColumn; if (column != null && column.FieldName == _columnFieldName && column.OwnerTemplate.Equals(_columnTemplate) && e.CellType == typeof(GridDataCellElement)) { e.Column.ReadOnly = true; e.CellType = typeof(CSPropertyGridCellElement); } } }
private void gridOrphans_CreateCell(object sender, GridViewCreateCellEventArgs e) { }