Changes between Version 55 and Version 56 of S3/FilterForms


Ignore:
Timestamp:
08/22/14 11:06:50 (10 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/FilterForms

    v55 v56  
    117117  - ''tbw''
    118118
     119S3HierarchyFilter presents filter options as [wiki:S3HierarchyWidget hierarchical widget]:
     120
     121[[Image(s3hierarchyfilter.png)]]
     122
     123'''Configuration''':
     124
     125{{{#!python
     126instance = S3HierarchyFilter(field,
     127                             label=None,
     128                             lookup=tablename,
     129                             represent=represent,
     130                             multiple=True,
     131                             leafonly=True,
     132                             )
     133}}}
     134
     135'''Parameters''':
     136
     137  ||'''Parameter'''||'''Type'''||'''Explanation'''||'''Default'''||
     138  ||field||string||field selector for the field to filter by ''(required)''||-||
     139  ||label||string or lazyT||the label for the fitler widget||None||
     140  ||lookup||string||name of the hierarchical lookup table||inferred from field||
     141  ||represent||callable||representation function for the options||inferred from field||
     142  ||multiple||boolean||allow selection of multiple options||True||
     143  ||leafonly||boolean||only leaf nodes in the hierarchy can be selected||True||
    119144=== S3DateFilter ===
    120145