Holder.setSourceModel
bool setSourceModel(gda.data_model.DataModel model, int col)Sets an hint that holder's values should be restricted among the values contained in the col column of the model data model. Note that this is just a hint, meaning this policy is not enforced by holder's implementation.
If model is null, then the effect is to cancel ant previous call to [gda.holder.Holder.setSourceModel] where model was not null.
Parameters
model | a #GdaDataModel object or null |
col | the reference column in model |
Returns
TRUE if no error occurred
Throws
[HolderException]