Browse by category:
|| | ||
How can I programmatically edit a record in the data source?
The following sample code shows you how you can programmatically change a record to your data source.
|// Change the contents of nRow in the grid.
|// Enter edit-mode
// Lock updating the grid
SetValueRange(CGXRange(nRow, 1), "1");
// Unlock painting
// Flush pending changes, Update will
Please note that this code depends only on CGXBrowserGrid-functionality and thus makes appending rows independent from your specific data source. You can use the same code for appending a row to a ADO recordset, ODBC recordset or any other external data source.
|Objective Grid: Adding user properties||Cannot unload DLLs or ActiveXs using OG|