Table of Contents

Interface INoxVirtualDataSource

Namespace
Nox.Grid
Assembly
Nox.Grid.dll

A virtual data source. The grid requests only the visible cells through GetValue. Assigning it to the grid's DataSource enables virtual mode. Field names are the column's DataPropertyName (or the column Name if not set).

public interface INoxVirtualDataSource

Properties

RowCount

Gets the number of rows.

int RowCount { get; }

Property Value

int

Methods

GetValue(int, string)

Gets a cell value.

object GetValue(int rowIndex, string fieldName)

Parameters

rowIndex int
fieldName string

Returns

object

SetValue(int, string, object)

Applies an edited value. Throws NotSupportedException if the value cannot be changed.

void SetValue(int rowIndex, string fieldName, object value)

Parameters

rowIndex int
fieldName string
value object

Events

DataChanged

Occurs when the row count or values change (the grid repaints).

event EventHandler DataChanged

Event Type

EventHandler