Hi,
I am trying to make a textbox readonly using the statement : $$(‘Id’).define(‘readonly’, true); / $$(‘Id’).readonly = true; . But both statements are not able to make the field readonly.
Any help would be greatly appreciated.
Hi,
I am trying to make a textbox readonly using the statement : $$(‘Id’).define(‘readonly’, true); / $$(‘Id’).readonly = true; . But both statements are not able to make the field readonly.
Any help would be greatly appreciated.
There is no such config options, but the same can be done through native html attributes
http://webix.com/snippet/232a4757
Also, check the “disable|enable” functionality, it may suit better for your case
http://webix.com/snippet/5f6ef54a
Thanks Maksim.
Actually I didn’t put $$(“Id”).refresh(); statement after $$(‘Id’).define(‘readonly’, true);
Now its working fine.