Changes between Version 18 and Version 19 of AjaxList


Ignore:
Timestamp:
2010-09-02T18:23:10Z (14 years ago)
Author:
Serge Okon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AjaxList

    v18 v19  
    9191{{{
    9292$columns = array(
    93     array(<Column.id 1>, <Column Name 1>, <CSS width of column 1>, <column 1 type>> [, column 1 type parameters]),
    94     array(<Column.id 2>, <Column Name 1>, <CSS width of column 2>, <column 2 type>> [, column 2 type parameters]),
     93    array(<Model.column 1>[, <Column Name 1>[, <CSS width of column 1>[, <column 1 type>> [, column 1 type parameters]]]]),
     94    array(<Model.column 2>[, <Column Name 2>[, <CSS width of column 2>[, <column 2 type>> [, column 2 type parameters]]]]),
    9595    [ etc...],
    9696    );
    9797}}}
    98  * '''Column.id''' -
     98 * '''Model.column''' - The CakePHP column id, in the format {{{Model.column}}}. This corresponds to the {{{table.column}}} format of the SQL database. This is the only required column in the column array entry, but it ''must'' be inside the an array, even if it's the only one.
     99 * '''Column Name''' - The column name will be displayed to the user. If it is left out, the user will see the Column.id
    99100
    100101==== Actions ====