Class JsmTd
Object
|
+--JsmObject
|
+--JsmCell
|
+--JsmTd
- class
JsmTd
- extends JsmCell
A table data cell
Defined in net/sf/jsm/table/jsmTd.js
Field Summary |
<private> boolean |
_dirty
Indicates if the value of this cell has been changed |
Constructor Summary |
JsmTd
(value, title)
A table data cell
|
Method Summary |
Object
|
getNode(specialClassName, jsmRowType)
Get the node object; the model (this) will be attached to the node as property 'model'
|
boolean
|
isDirty()
|
Object
|
setDirty(<boolean> dirty, <boolean> propagateToParent)
Sets the dirty flag; if set to true will propagate this to the parent row; if set to false will check if
other the other cells of parent row are also clean and propagate this to the parent row
|
_dirty
<private> boolean _dirty
Indicates if the value of this cell has been changed
JsmTd
JsmTd(value, title)
Parameters:
value
- Optional: The value can be a string or an object with a getNode() method
title
- Optional: The title
getNode
Object getNode(specialClassName, jsmRowType)
Get the node object; the model (this) will be attached to the node as property 'model'
Parameters:
specialClassName
- The name of the special style class
jsmRowType
- The value of the meta data 'jsmRowType' of the td's row
isDirty
boolean isDirty()
setDirty
Object setDirty(<boolean> dirty, <boolean> propagateToParent)
Sets the dirty flag; if set to true will propagate this to the parent row; if set to false will check if
other the other cells of parent row are also clean and propagate this to the parent row
Parameters:
propagateToParent
- Should the change be propagated to the parent row
Documentation generated by
JSDoc on Tue Sep 26 08:42:57 2006