Module vCell
Base class for cells (vTable, vTree...)
get_value () |
|
set_value (val, skip_event) |
programmatic updates are performed through this method |
update () |
after updating certain properties, the component might change size
(for example, text will expand it's size when the "style" property is set)
counteract by calling this method after changing the property |
self.item_id |
(int) the data record id associated with this cell
it is the responsibility of the owner to assign this property |
self.owner |
(vTable) reference to the table which holds this cell |
self.transform |
(function) callback, transform the displayed value somehow |
Functions
-
get_value ()
-
Returns:
variant, depends on class
-
set_value (val, skip_event)
-
programmatic updates are performed through this method
Parameters:
- val
(variant)
- skip_event
(bool) don't fire any events
-
update ()
-
after updating certain properties, the component might change size
(for example, text will expand it's size when the "style" property is set)
counteract by calling this method after changing the property
Fields
-
self.item_id
-
(int) the data record id associated with this cell
it is the responsibility of the owner to assign this property
-
self.owner
-
(vTable) reference to the table which holds this cell
-
self.transform
-
(function) callback, transform the displayed value somehow