extjs - Changing the properties of a field dynamically -
in application's viewport i'm showing form panel list of fields in center region , property-grid in east region.
i need show list of properties of field in property-grid on selection of field. user able change properties. requirement apply properties dynamically field.
is there generic way achieve this?
can me?
some properties have getter , setter functions, not of them , doubt consistent enough trying do.
my suggestion store config object each field, config object have each property want able change using property grid. when property changes, remove field form. re-create using ext.create , passing config object second parameter. insert object form.
edit: can skip using ext.create using insert function on form panel, seems able accept config object directly.
Comments
Post a Comment