readonly object lookup with more than 20 items
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Please, use the following script:
To revert field into editable state use the following script:
Code: Select all
fd.field('Lookup').control()._el().find('input').attr('disabled', 'disabled');
fd.field('Lookup').control()._el().find('img').hide()
Code: Select all
fd.field('Lookup').control()._el().find('input').removeAttr('disabled');
fd.field('Lookup').control()._el().find('img').show()
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests