C1.Blazor.Grid by GrapeCity, Inc.

<PackageReference Include="C1.Blazor.Grid" Version="3.1.20203.35" />

.NET API 297,560 bytes

 GridCellFactoryBase

public class GridCellFactoryBase
Implements the functionality to create grid cells dynamically.
public class ColumnInfo

Contains the dimensions of a column.

public class RowInfo

Contains the dimensions of a row.

public virtual int CellsColumnsCount { get; }

Gets the number of columns belonging to the cells area.

public virtual int CellsRowsCount { get; }

Gets the number of rows belonging to the cells area.

public virtual int ColumnHeaderRowsCount { get; }

Gets the number of rows belonging to the column headers area.

public int ColumnsCount { get; }

Gets the total number of columns.

public ColumnInfo DefaultColumn { get; }

Gets the default column dimensions.

public RowInfo DefaultRow { get; }

Gets the default row dimensions.

public virtual int RowHeaderColumnsCount { get; }

Gets the number of columns belonging to the row headers area.

public int RowsCount { get; }

Gets the total number of rows.

public virtual bool AllowEditing(GridCellRange range)

Returns true when the cell in the specified range can be edited.

public virtual string GetCellText(GridCellType cellType, GridCellRange range)

Gets the text representing the content of a cell.

public double GetColumnOffset(int column)

Gets the distance between the origin and the specified column.

public double GetColumnOffset(int fromColumn, int toColumn)

Gets the distance between the two specified columns.

public virtual ColumnInfo GetDefaultColumn()

Gets the default column dimensions.

public virtual RowInfo GetDefaultRow()

Gets the default row dimensions.

public virtual int GetFrozenColumns()

Gets the number of frozen columns.

public virtual int GetFrozenRows()

Gets the number of frozen rows.

public double GetRowOffset(int row)

Gets the distance between the origin and the specified row.

public double GetRowOffset(int fromRow, int toRow)

Gets the distance between the two specified rows.

public virtual void OnEditEnded(GridCellRange range, ComponentBase editor, bool editCancelled)

Called when the editing of a cell ended.

public virtual void PrepareCellStyle(GridCellType cellType, GridCellRange range, C1Style style)

public virtual void SetCellValue(GridCellType cellType, GridCellRange range, object value)

Sets the value of a specified cell.