Construct_Object()
- Boolean
AllDataIsLoaded()
returns true if all data is loaded
- Integer
iRowCount
- Boolean
DataIsStatic()
returns true if data is static meaning that once loaded there is no need to go
back to the external datasource to look for new or deleted rows
- Boolean
DataSourceSynchRequired()
This signifies that the datasource needs adjusting and that grid needs updating
- Boolean
bRequired
AddColumn(Handle hoColumn)
Adds column metadata information to the datasource
- Integer[]
DataSourceColumnObjects
- tDataSourceRow[]
DataSource()
returns entire datasource
- tDataSourceRow[]
DataSource
- RowID
RowTag(Integer iRow)
- tDataSourceRow[]
DataSource
- Integer
RowCount()
- tDataSourceRow[]
DataSource
- Integer
ColumnCount()
- Integer[]
DataSourceColumnObjects
- String
DataForCell(Integer iRow Integer iColumn)
- tDataSourceRow[]
DataSource - tDataSourceRow
CurrentDataSource - Integer
iSize - Integer
iSel - String
sValue
- Integer
NormalizeDataSource(Integer iTopRow)
PageInRows(Integer ByRef iFirstRow Integer ByRef iLastRow)
- Integer
PageInMatchingRow(RowID riId)
PageInLastRow()
PageInFirstRow()
SynchronizeDataForSelectedRow(Boolean bPushData Integer iFlags)
UpdateDataForSelectedRow(Integer iColumn String sValue Boolean bUpdateExternalData)
- tDataSourceRow
DataSourceRow - Boolean[]
ColsChanged - String
sOldValue - Integer
iRow - Integer[]
DataSourceColumnObjects
SelectRow(Integer iRow Boolean bUpdateExternalData)
- tDataSourceRow[]
DataSource - tDataSourceRow
DataSourceCurrent - Boolean
bOk - Integer
iRowCount - Integer
iSelected
ClearChangedStates()
- Boolean[]
ColsChanged - Integer
iColCount
StoreSelectedRow()
- tDataSourceRow[]
DataSource - tDataSourceRow
CurrentDataSourceRow - Boolean
bChange - Integer
iRow
ResetSelectedRow()
- tDataSourceRow[]
DataSource - Integer
iRow - Boolean
bChange
- Integer
SelectedRow()
- Integer
iIndex
- Boolean
SaveSelectedRow()
- tDataSourceRow[]
DataSource - tDataSourceRow
CurrentDataSourceRow - Integer
iRow
- Boolean
DeleteSelectedRow()
deletes the row from the back end
- Handle
ValidateSelectedRow()
- Integer
iCols - Integer
iCol - Boolean
bError - Boolean
bCancel - Integer[]
DataSourceColumnObjects
RemoveRow(Integer iIndex)
- tDataSourceRow[]
DataSource - Integer
iRowCount - Integer
iSelect
InsertRow(Integer iIndex)
- tDataSourceRow[]
DataSource - tDataSourceRow
DataSourceRow - Integer
iRowCount - Integer
iSelect
Reset()
Clears all data from datasource
- tDataSourceRow[]
DataSource
ResetAll()
resets everything - columns and data
- Integer[]
DataSourceColumnObjects
InitializeDataSource(tDataSourceRow[] DataSource)
created this to initialize the data. It can be left empty or used to load data up front
- tDataSourceRow
CreateDataSourceRow()
called to fill a row with data. Often used to fill data from an external source.
The column object is called with the assumption that the external source (i.e., file buffers)
contain the data needed. Used by sub-classes
- tDataSourceRow
DataSourceRow - Integer[]
DataSourceColumnObjects - Integer
iColumn - Integer
iColumns - String
sValue
- tDataSourceRow
CreateClearedDataSourceRow()
Creates a cleared row. Used by subclasses
- tDataSourceRow
DataSourceRow
- Boolean
IsSelectedRowNew()
- tDataSourceRow
DataSourceRow
- Boolean
IsSelectedRowChanged()
- Boolean
bChanged
- Boolean
ShouldSaveSelectedRow()
- Boolean
bChanged - Boolean
bNewRow
- Boolean
CanSaveRow()
- Boolean
CanDeleteRow()
- Boolean
CanAddRow()
SortDataSource(tGridSortRules GridSortRules)
sort datasource data based on rules in GridSortRules. This only sorts loaded data
and it assumes that sorting it does not invalidate it some way
- Integer
hoGridSortHelper - Integer
iSel - tDataSourceRow[]
DataSource - tDataSourceRow[]
NewDataSource
- Integer
FindColumnValue(Integer iColumn String sValue Boolean bFindGE Integer iStartRow Boolean bSearchUp)
Find the value for this column in the datasource.
This is meant to be used when all data is loaded. bFindGE determines if this is a EQ (false)
or GE (True) find. iStartRow determines the row to start the search at.
This is datatype aware and if performs the proper search for the expected type.
- String
sValue2 - Date
dDate1 - Date
dDate2 - DateTime
dtDateTime1 - DateTime
dtDateTime2 - Number
nNum1 - Number
nNum2 - Integer
i - Integer
iIndex - Integer
iRows - Integer
eType - Integer[]
DataSourceColumnObjects - Integer
hoCol - tDataSourceRow[]
DataSource