Class GridRowHeaderCellRenderer
GridRowHeaderCellRenderer is a class for cell renderer that displays GridRowHeaderCell. The class provides strong typed override methods for initializing content of the cell and arranging the cell visuals.
Updates to appearance and content of child elements, creation and unloading of views will not trigger layout or render calls in parent canvas.
Inheritance
Inherited Members
Namespace: Syncfusion.SfDataGrid
Assembly: Syncfusion.SfDataGrid.iOS.dll
Syntax
public class GridRowHeaderCellRenderer : GridVirtualizingCellRendererBase<GridRowHeaderCell, GridRowHeaderCell>, IGridCellRenderer, IDisposable
Constructors
GridRowHeaderCellRenderer()
Initializes a new instance of the GridRowHeaderCellRenderer class.
Declaration
public GridRowHeaderCellRenderer()
Methods
OnCreateDisplayUIView()
Creates a new GridRowHeaderCell view and initializes it with the required properties.
Declaration
protected override GridRowHeaderCell OnCreateDisplayUIView()
Returns
Type | Description |
---|---|
GridRowHeaderCell | A new GridRowHeaderCell view. |
Overrides
OnInitializeDisplayView(DataColumnBase, GridRowHeaderCell)
Initializes the column element of a Syncfusion.SfDataGrid.DataColumn object with the given view and required values.
Declaration
public override void OnInitializeDisplayView(DataColumnBase dataColumn, GridRowHeaderCell view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
GridRowHeaderCell | view | A view to be hosted inside the column element. |
Overrides
OnRefreshDisplayValue(DataColumnBase)
Called from RefreshDisplayValue(DataColumnBase) to update the cell appearance as per the customer need through API's. In our control we are reusing the cell views for scrolling. Hence we need to update the styles of the cell views.
Declaration
protected override void OnRefreshDisplayValue(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
Overrides
OnUpdateDisplayValue(DataColumnBase, GridRowHeaderCell)
Updates the column element of a Syncfusion.SfDataGrid.DataColumn object with the given view and required values.
Declaration
public override void OnUpdateDisplayValue(DataColumnBase dataColumn, GridRowHeaderCell view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
GridRowHeaderCell | view | A view to be updated inside the column element. |