EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: korenanzo on February 18, 2016, 10:25:28 AM



Title: changing and rechanging plugin
Post by: korenanzo on February 18, 2016, 10:25:28 AM
Strange question it is, indeed :)

I have a textbox
$('#t').textbox({...})

 at runtime, in some particular condition, I need to attach to it  a combogrid
$('#t').combogrid ({...})
and when I've selected a row, the combogrid  must disappear with its own options,functions ad data, and textbook characteristics must remain .

is it possible?

thanks,

ric


Title: Re: changing and rechanging plugin
Post by: stworthy on February 20, 2016, 02:22:46 AM
You can create two components, one is textbox and another is combogrid. Hide one and display another to act as what you desired.