Changes between Version 18 and Version 19 of AjaxList
- Timestamp:
- 2010-09-02T18:23:10Z (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AjaxList
v18 v19 91 91 {{{ 92 92 $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]]]]), 95 95 [ etc...], 96 96 ); 97 97 }}} 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 99 100 100 101 ==== Actions ====