Module classes.table.vTableCell

Base class for vTable cells

Functions

get_value ()
set_value (val)
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._id (int) the record id from the data (assigned by vTable)
self.owner_table (vTable) reference to the table which holds this cell
self.transform (function) callback, transform the displayed value


Functions

get_value ()

Returns:

    variant, depends on class
set_value (val)

Parameters:

  • val (variant)
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._id
(int) the record id from the data (assigned by vTable)
self.owner_table
(vTable) reference to the table which holds this cell
self.transform
(function) callback, transform the displayed value
  • val (variant)
generated by LDoc 1.4.2