3.2.0

add attribute to cell

How would one add a tag or other attribute to a cell?

For example, if the cell at (2,3) is blank, I want to add an attribute
called "tag" or "info" that says "thisFieldWasBlank"

Later, when I go to cell (2,3) I can check the attribute in some manner
obj.cellGetAttribute("tag")
eric juvet
August 9,
You should create new property in the cell model with defineCellProperty() method -

// define new cell property
obj.defineCellProperty("tag");

// assign the property value
obj.setCellTag("abc", 2, 3);

// retrieve the property value
alert(obj.getCellTag(2, 3));
Alex (ActiveWidgets)
August 10,
- getCellTag() and setCellTag() methods will be created automatically by defineCellProperty("tag") call.
Alex (ActiveWidgets)
August 10,

This topic is archived.

See also:


Back to support forum