Class CCTableViewStaticDataSource

This class defines a default instance of CCTableViewDataSource which reads data from a 2D array of strings or numbers.

Implements

Constructors

Accessors

Methods

  • Returns the width of a column in a row, overriding the width of the view. If not implemented, the width is determined from the content.

    Parameters

    • table: CCTableView

      The table requesting data

    • row: number

      The row to query

    • column: number

      The column to query

    Returns number

    The width of the column