Revision history [back]

click to hide/show revision 1
initial version

asked 2013-03-21 11:53:45 +0800

AmandeepJ gravatar image AmandeepJ

Declaration of widget class

Hi, I am getting cls undefined in register() function call of ZK.

var cls = zk.$import(clsnm);
cls.prototype.className = clsnm;

The documentation says

Notice that the class must be declared before calling this method. In other words, zk.$import(clsnm) must return the class of the specified class name.

Where do I need to delcare class class name ?

Declaration of widget class

Hi, I am getting cls undefined in register() function call of ZK.register() function.

var cls = zk.$import(clsnm);
cls.prototype.className = clsnm;

The documentation says

Notice that the class must be declared before calling this method. In other words, zk.$import(clsnm) must return the class of the specified class name.

Where do I need to delcare class class name ?

Link of register function : Link

Declaration of widget class

Hi, I am getting cls undefined in register() function.

var cls = zk.$import(clsnm);
cls.prototype.className = clsnm;

The documentation says

Notice that the class must be declared before calling this method. In other words, zk.$import(clsnm) must return the class of the specified class name.

Where do I need to delcare class class name ?

Link of register function : Link

Declaration of widget class

Hi, I am getting cls undefined in register() function.

var cls = zk.$import(clsnm);
cls.prototype.className = clsnm;

The documentation says

Notice that the class must be declared before calling this method. In other words, zk.$import(clsnm) must return the class of the specified class name.

Where do I need to delcare class class name ?

Link of register function : Link

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More