Sets the number of columns for rows inserted in this model. cols must be greated than or equal to 0.
Also clears model's contents.
number of columns for rows this data model should use.
Sets the number of columns for rows inserted in this model. cols must be greated than or equal to 0.
Also clears model's contents.