set_values


Description:

public bool set_values (int row, List<Value?>? values) throws Error

In a similar way to set_value_at, this method modifies a data model's contents by setting several values at once.

If any value in values is actually null, then the value in the corresponding column is left unchanged.

Upon errors FALSE will be returned and throws will be assigned a Error from the DataModelError domain.

Parameters:

this

a DataModel object.

row

row number.

values

a list of Value (or null), one for at most the number of columns of this

Returns:

true if the value in the data model has been updated and no error occurred