Table
(type in module tri
)
Provides an object rendition of the Static Table object defined in the Javascript file.
Referred to in this documentation as the dynamic instance of the Table object.
The public methods attached to the Table object and described herein are
accessible form the HTML code assuming a Table object is available.
Constructor of the the Table object. Performs the following functions:
props – {Object} –
Properties array. Equivalent to oTabProps in static object.
$scope – {Object} –
under which table is connected
servCRUD – {Object} –
object pointer. Needed to prevent circular references.
Returns an array of custom actions pertaining to the Edit operation on a data object in the table.
$scope – {Object} –
Scope under which call is made. The pointer to the click function and whatClass function will be added to the scope.
oObj – {Object} –
The object beding edited.
{Object[]}
– array of Action objects
Builds an array of Filters that match sType
sType – {string} –
The filter type to match. Null means all filters.
{Object[]}
– array of Filters objects
Returns an array of all the data objects for the Table.
{Object[]}
– array of data objects
Returns an array of optional actions specified in the props object.
$scope – {Object} –
Scope under which call is made. The pointer to the click function and whatClass function will be added to the scope.
{Object[]}
– array of Action objects
Reduces the entire sorted set by the filter logic. The results are cached because this function is called many times during a $digest
operation. Changes to the Filters or data contents of the Table automatically cleanse the cache.
{Object[]}
– array of data objects
Returns the recTitle value
{string}
– recTitle