You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Module to provide a filter for a display table macro.

Iteration
Finished

Content

Below this text is the HTML-Code to be transcluded to provide a filter for a display table macro using the remote controlled feature.

Can be viewed only in edit mode.

The javascript code uses the variable initialwhere which can be replaced using the transclusion variable replacement feature and be set to the initial where condition used in the display table macro.

Morover two more variables have to be set to provide options for a dropdown.

Full example to disable the dropdown:

initialwhere=$<DirectAncestorId>=[112494396]
datalistselects=<datalist id="selects"></datalist>
datalistwhere=<datalist id="wheres"></datalist>

Full example to set values for the dropdowns:

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>

  • No labels