EasyUI Forum
May 08, 2024, 08:36:22 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: combogrid validator  (Read 13693 times)
ryupanqui
Newbie
*
Posts: 44


View Profile Email
« on: August 22, 2013, 07:50:14 AM »

in the new version 1.3.4, the combogrid not inherit the methods of the combo: validate, enableValidation, disableValidation. It is a bug?
I had to do the following to work:
Quote
$. extend ($. fn.combogrid.methods, {
     validate: function (jq) {
         jq.each return (function () {
             $ (this). combo ('validate');
         });
     }
     enableValidation: function (jq) {
         jq.each return (function () {
             $ (this). combo ('enableValidation');
         });
     }
     disableValidation: function (jq) {
         jq.each return (function () {
             $ (this). combo ('disableValidation');
         });
     }
});
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: August 22, 2013, 05:47:22 PM »

This issue has been fixed. Please download the updated combogrid plugin from http://www.jeasyui.com/easyui/plugins/jquery.combogrid.js and include it in your page.
Logged
ryupanqui
Newbie
*
Posts: 44


View Profile Email
« Reply #2 on: August 26, 2013, 01:52:11 PM »

in my page, i only add the jquery.easyui.min.js file and not plugin by plugin as you said me, are you planning update the jquery.easyui.min.js file with this fixing?. If not, can i modify my jquery.easyui.min.js file with the fixing without any problem? Regards.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #3 on: August 26, 2013, 03:09:48 PM »

You can also use the latest http://www.jeasyui.com/easyui/jquery.easyui.min.js in your page.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!