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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -