HiddenItems

HiddenItems

is an option for Dataset that specifies which items to hide.

Details

  • The settings for HiddenItems can be given as follows:
  • ihide the item at position i
    {i1,i2,,in}hide the items at positions ik
    {,iFalse,}show the item at position i
    {,iTrue,}hide the item at position i
  • Positions can be patterns.
  • The position of an item can be read at the bottom of a dataset when you hover over the item.
  • If the left-hand side of a rule is not a list, the setting is applied to any position that contains the left-hand side as a key or index.
  • A pure function f that returns True or False can be used in place of any value. The setting is given by f[item,position,data], where data is the dataset's first argument.
  • Items can be hidden interactively by choosing Hide from an item's context menu.

Examples

open allclose all

Basic Examples  (3)

Hide a row:

Hide a column:

Hide all items whose position contains 2:

Scope  (2)

Hide an entire row with the exception of one item:

Hide all but one row and column:

Generalizations & Extensions  (3)

Use a pattern in a position:

Hide items based on their value:

Hide items based on their positions:

Wolfram Research (2020), HiddenItems, Wolfram Language function, https://reference.wolfram.com/language/ref/HiddenItems.html.

Text

Wolfram Research (2020), HiddenItems, Wolfram Language function, https://reference.wolfram.com/language/ref/HiddenItems.html.

CMS

Wolfram Language. 2020. "HiddenItems." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/HiddenItems.html.

APA

Wolfram Language. (2020). HiddenItems. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/HiddenItems.html

BibTeX

@misc{reference.wolfram_2024_hiddenitems, author="Wolfram Research", title="{HiddenItems}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/HiddenItems.html}", note=[Accessed: 25-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_hiddenitems, organization={Wolfram Research}, title={HiddenItems}, year={2020}, url={https://reference.wolfram.com/language/ref/HiddenItems.html}, note=[Accessed: 25-April-2024 ]}