Holder.setSourceModel

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.

class Holder
bool
setSourceModel

Parameters

model gda.data_model.DataModel

a #GdaDataModel object or null

col int

the reference column in model

Return Value

Type: bool

TRUE if no error occurred

Throws