3.0.5

proper use of getClass

I have set the following:

obj.getCellTemplate(0,0)setClass("cell","0");

where I have .aw-cell-0 entry in css.

if I want to get the class name later, I am having trouble. I have tried different names including:

obj.getCellTemplate(0,0).getClass("cell0");

obj.getCellTemplate(0,0).getClass("awcell0");

All come back undefined. What name should I use???
Joel
January 4,
getClass("cell") should return "0",

setClass(name, value);
getClass(name); // returns value

http://www.activewidgets.com/aw.system.html/getclass.html


Alex (ActiveWidgets)
January 4,
thanks Alex - very helpful! that works.
Joel
January 4,

This topic is archived.

See also:


Back to support forum