cf.FieldList.setdata

FieldList.setdata(*args, **kwargs)[source]

Set data array elements depending on a condition.

fl.setdata(*args, **kwargs) is equivalent to for f in fl: f.setdata(*args, **kwargs).

See cf.Field.setdata for details.

Parameters :
args, kwargs : optional

See cf.Field.setdata.

Returns :

None

Previous topic

cf.FieldList.setattr

Next topic

cf.FieldList.setprop

This Page