Class GridTableSummaryCellRenderer
GridTableSummaryCellRenderer is a class for cell renderer that displays Android.Widget.TextView in a GridTableSummaryCell. 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.Android.dll
Syntax
public class GridTableSummaryCellRenderer : GridVirtualizingCellRendererBase<TextView, GridTableSummaryCell>, IGridCellRenderer, IDisposable
Constructors
GridTableSummaryCellRenderer()
Initializes a new instance of the GridTableSummaryCellRenderer class.
Declaration
public GridTableSummaryCellRenderer()
Methods
OnCreateDisplayUIView()
Creates a new Android.Widget.TextView view and initializes it with the required properties.
Declaration
protected override TextView OnCreateDisplayUIView()
Returns
Type | Description |
---|---|
Android.Widget.TextView | A new Android.Widget.TextView view. |
Overrides
OnInitializeDisplayView(DataColumnBase, TextView)
Initializes the column element of a Syncfusion.SfDataGrid.SpannedDataColumn object with the given Android.Widget.TextView view and required values.
Declaration
public override void OnInitializeDisplayView(DataColumnBase dataColumn, TextView view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
Android.Widget.TextView | view | An Android.Widget.TextView object to be hosted inside the column element. |
Overrides
OnUpdateCellValue(DataColumnBase)
Updates cell value of the spanned data column.
Declaration
protected override void OnUpdateCellValue(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The spanned data column. |
Overrides
OnUpdateDisplayValue(DataColumnBase, TextView)
Updates the column element of a Syncfusion.SfDataGrid.SpannedDataColumn object with the given Android.Widget.TextView view and required values.
Declaration
public override void OnUpdateDisplayValue(DataColumnBase dataColumn, TextView view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
Android.Widget.TextView | view | An Android.Widget.TextView object to be hosted inside the column element. |
Overrides
UpdateColumnElement(DataColumnBase)
Updates the column element of the passed spanned data column.
Declaration
protected override CellElement UpdateColumnElement(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The spanned data column. |
Returns
Type | Description |
---|---|
CellElement | The column element. |