:: Forum >>

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
Thursday, January 4, 2007
getClass("cell") should return "0",

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

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


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

This topic is archived.


Back to support forum

Forum search