Changes between Version 73 and Version 74 of AjaxList


Ignore:
Timestamp:
2010-09-08T20:10:03Z (14 years ago)
Author:
Serge Okon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AjaxList

    v73 v74  
    259259
    260260}}}
    261 The above is a great example, because it shows all the features of the Join Table Filters in one example.
     261The above is a great example, because it shows all the features of the Join Table Filters in one example. Most of the entries are just like the last section's Join Table example, except that there are a few new ones:
     262 * '''"id"'''  => Which specific column will be filtered by.
     263 * '''"description"''' => A small string right before the filter selection on the GUI. Let the user know what the filter does :-)
     264 * '''"list"''' => The list of choises for the user. The format of the list is:
     265  * $extraFilters = array(key1 => value1, key2 => value2, key3 => value3, etc...);
     266  * The '''keys''' are the actual values filtered for in SQL.
     267  * The '''values''' are the entry values shown to the user instead of the key.
     268  * My suggestion is to tie the keys to Table.id columns, and their name/title to the values.
     269 * '''"default"''' => The default selection for the filter.
     270
     271
    262272
    263273{{{