Changes between Version 63 and Version 64 of AjaxList
- Timestamp:
- 2010-09-08T16:54:41Z (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AjaxList
v63 v64 196 196 // list's column to join another table, user this variable to specify 197 197 // that joined Model's name here. 198 ), 199 array( "joinTable" => "table_name2", 200 "joinModel" => "JoinModel2", 201 "localKey" => "local_key", 202 "foreignKey"=>"foreign_key2", 203 "localModel" => "LocalModel", 204 )); 198 205 }}} 199 206 200 207 The joined in columns should be included in the $columns list, if you'd like to display them. The columns you're joining on (in local model) also need to be present in the $columns list, but may be of hidden-type if you prefer not to display them. Remember, all the columns that are referred to by Ajax List must be in the $columns list. 201 208 209 If the foreign key is not "id", you should create an indel in MySQL for that column, or the speed degradation will be awefull if the joinTable has 1000+ entries. 202 210 203 211 ==== Join Table Filters ====