VarBuilder options = new VarBuilder(null, true);
options.appendProperty("type", column.getColType(), true);
Integer width = column.getColWidth();
if (width != null)
options.appendProperty("width", width.toString(), false);
if (column.isReadonly())
options.appendProperty("readOnly", "true", false);
vb.appendArrayValue(options.closeVar().toString(), false);
}
wb.nativeAttr("columns", vb.closeVar().toString());