Replacing elements(or view)

I am new to this, could anyone please suggest an easy way to replace elements. Basically, I need to replace textarea element with text or dropdown including the label. Thanks in advance.

try removeView + addView with index http://webix.com/snippet/9c17b6bf

Yep, the above is a valid solution.

In some cases, it is more simple to create all necessary controls and just show|hide the necessary ones.

Thank you