IVirtualGridContext Interface

Represents the context for a virtual grid, providing methods to retrieve pixel rectangles for specific rows and columns.

Namespace: Radzen.Blazor.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public interface IVirtualGridContext

Methods

GetRangeslink

Splits a range into regions based on frozen pane boundaries for rendering.

Declaration
public abstract IEnumerable<Spreadsheet.RangeInfo> GetRanges(Documents.Spreadsheet.RangeRef range)
Parameters
Type Name Description
Documents.Spreadsheet.RangeRef range
Returns
Type Description
IEnumerable<Spreadsheet.RangeInfo>

GetRectanglelink

Gets the pixel rectangle for a specific row and column in the virtual grid.

Declaration
public abstract Spreadsheet.PixelRectangle GetRectangle(int row, int column)
Parameters
Type Name Description
int row
int column
Returns

GetRectanglelink

Gets the pixel rectangle for a specific row and column in the virtual grid.

Declaration
public abstract Spreadsheet.PixelRectangle GetRectangle(int top, int left, int bottom, int right)
Parameters
Type Name Description
int top
int left
int bottom
int right
Returns

Events

Scrolledlink

Occurs when the grid scrolls.

Declaration
public event Action Scrolled
In This Article
An error has occurred. This app may no longer respond until reloaded. Reload 🗙