DataGrid REALbasic Plugin

DataGrid.MakeRowDynamic Method

This function is used to change a static row back to a dynamic row.

MakeRowDynamic(
   rowNumber as Integer)

Parameters

rowNumber
The number of that row that should be made dynamic.

Remarks

Static Rows are rows that are stored in memory instead of only cached while displayed on the screen like the DataGrid usually does. There can be many reasons for using static rows, one purpose for example would be when a user clicks a checkbox in a row then the row would be changed to a static row, so that the new value of the checkbox will be stored after the row gets scrolled out of scope, and without having to do a requery. Then when you are ready to save the new states to the database then you can use the GetStaticRows function to get the index of all those rows which have been modified in such way.

See Also

DataGrid Control