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
Methods
GetValue(int, string)
Gets a cell value.
object GetValue(int rowIndex, string fieldName)
Parameters
Returns
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
Events
DataChanged
Occurs when the row count or values change (the grid repaints).
event EventHandler DataChanged