[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IDataManager

IDataManager Interface

Represents the data manager of a worksheet.

Namespace: GrapeCity.Spreadsheet
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public interface IDataManager
Public Interface IDataManager

Properties

Name Description
AutoGenerateColumns

Gets or sets whether to generate the columns automatically based on the data source.

DataAllowAddNew

Gets or sets whether to allow the user to add a new row when the worksheet is bound.

DataSource

Gets or sets the data source.

Methods

Name Description
AddRowToDataSource(int, bool)

Adds the unbound row to the data source for a sheet.

AddUnboundRows(int, int)

Adds unbound rows for a sheet.

GetColumnIndex(string)

Gets the index of the column specified by name.

GetDataColumnName(int)

Gets the column name at the specified position.

IsRowBound(int)

Determines whether the row is bound.

SetModelDataColumn(int, string)

Binds a model column to a specified data source column.