You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 35 Next »
In this example a display table macro is used and filtered using a transclusion and the remote controlled feature.
Using the Display Table Macro by setting the Identifier to filtered in conjunction with the Transclusion Macros Replacement feature and the Remote Control (Feature) for filtering.
Identifier
filtered
At first you can try it here yourself:
Now you can follow the steps and use a filter for your own:
Choose a doctype, select and where statement.
Set the Identifier to filtered.
Use the transclusion macro to transclude the HTML code for filtering (get the code) .
Add as replacement the initial where condition of the display table macro and provide the options:
initialwhere=$<DirectAncestorId>=[112494396]
datalistselects=<datalist id="selects"><option value="Name">Name only</option><option value="Name, Short Description, Iteration">With Iteration</option></datalist> datalistwhere=<datalist id="wheres"><option value="$<Iteration>=[Facade]">Facade</option><option value="$<Iteration>=[Filled]">Filled</option><option value="$<Iteration>=[Finished]">Finished</option></datalist>
As alternative empty options can be used if the dropdown functionality is not needed:
initialwhere=$<DirectAncestorId>=[112494396]datalistselects=<datalist id="selects"></datalist>datalistwhere=<datalist id="wheres"></datalist>