Changes between Version 27 and Version 28 of AjaxList
- Timestamp:
- 2010-09-02T20:06:01Z (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AjaxList
v27 v28 109 109 * An extra feature of the ''map'' is that the JS AjaxList client also creates a drop-down filter for it. In this way, the end-user can choose to selectively view the mapped types, or all the types at once. In the iPeer's users controller this is used to switch the view between Admin's, Instructors, and Students. 110 110 * If the column contents is not a valid key in the supplied dictionary, the entry is listed, and unknown keyword appears beside. 111 * ''hidden'' - this type simply defined a column whose data are passed to the client, but not displayed in any way. For example, if you'd like to pass the entry ID to the client, for use in actions, but would not like the user to see it, you could define the column like this: 112 * {{{array("ListedModel.id", "", "", "hidden),}}} 113 * There are a few reasons to do this, If you'd like to use this column's data: 114 * In an action (explained bellow), but don't want the data itself to show up. 115 * In data post-processing. The column which do not appear in the columns array are not present when the data is given to the custom post-processing function. 111 116 ==== Actions ==== 112 117