EasyUI Forum

General Category => General Discussion => Topic started by: anugrast on August 13, 2016, 01:05:31 AM



Title: Make Combogrid and Datebox readonly
Post by: anugrast on August 13, 2016, 01:05:31 AM
How to make combogrid and datebox readonly...

I've tried :
  $('#id_controller_udom').combogrid({ readonly: true});

but when I used form, a value of that combogrid was empty...

Please help me...


Thx :)


Title: Re: Make Combogrid and Datebox readonly
Post by: jarry on August 14, 2016, 06:59:00 AM
Please call 'readonly' method to make the combogrid readonly.
Code:
$('#id_controller_udom').combogrid('readonly');
// $('#id_controller_udom').combogrid('readonly', false);


Title: Re: Make Combogrid and Datebox readonly
Post by: anugrast on August 14, 2016, 06:02:21 PM
Thanks for your help...

Problem solved...