FormItem setFieldTitle 方法

FormItem setFieldTitle method

DynamicFormFormItem是否有设置字段标题的方法?

目前我正在做这样的事情

var fields = myForm.fields;
fields[0].title = "a brand new title";
myForm.setFields(fields);

根据SmartClient论坛上Isomorphic的回答

A valid way to do this would be formItem.setProperty("title", newTitle) and then item.redraw().