PDA

View Full Version : form fields like defining editor, switch form fields with different xtypes



emredagli
12 Nov 2009, 3:04 AM
Hii,
I have a situation like that:
I use statictextfield extension to showing non-editable fields.
But in some case I need to add "Edit Fields" button (on the top of the form panel) to edit these fields.

My solution is using card layout. And redefining all fields with different xtype.
This is not elegant solution.

I wonder to know that anybody solve this problem with different way?
Or is there a trick way to do achive this?

Thanks a lot.