Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
protogrid:filter [2020-07-01 17:39] mhaprotogrid:filter [2023-05-16 13:57] (current) – [Filter] dru
Line 1: Line 1:
 ====== Filter ====== ====== Filter ======
  
-Protogrid has built-in filter mechanisms which are enabled by default for the most common use cases. For example if you have embedded a tableview on a proto for displaying next working steps the displayed entries are automatically filtered so only those next working steps are shown which are assigned to the current responsible (which is stored in a relation field on the same proto).+Protogrid has built-in filter mechanisms which are enabled by default for the most common use cases. For example if you have embedded a tableview on a proto for displaying next working steps the displayed entries are automatically filtered so only those next working steps are shown which are assigned to the current responsible (which is placed in a relation field on the same proto).
  
-For every field type you can control specific behavioral aspects which are related to data filtering. For tableviews you can select from 4 types of filter fields to allow users dynamically limiting the data available+For every field type you can control specific behavioral aspects which are related to data filtering.
  
-Additionally to data filters Protogrid provides 2 data security features to restrict access to data: "Read Access Role Definition" and "Write Access Role Definition" fields (see [[protogrid/read_and_write_access_role_definition]]).+Additionally to data filters Protogrid provides 2 data security features to restrict access to data: "Read Access Role Definition" and "Write Access Role Definition" fields (see [[protogrid:Read And Write Access Role Definition|Read And Write Access Role Definition]]). 
 +==== Filter Options ====
  
 +Depending on the field type you have any of the following filtering options available for a field definition:
 +
 +=== Limit Using Compatible Filters on the same Card ===
 +
 +Available for: Relation Field Definition, Tag Field Definition
 +
 +The available choices are filtered using neighboring relation fields and filters that use the same Proto as a relation field in the target data.
 +
 +=== Additional filter based on read access setting ===
 +
 +Available for: Relation Field Definition
 +
 +The available choices are filtered based on the read access rights of the target data. The system default is that users can see the shortname of a card, even when the card itself is resticted from access using a read access role definition.
 +
 +=== Disable filter effect on neighboured fields on the same card ===
 +
 +Available for: Relation Field Definition
 +
 +With this option you can disable the filtering effect on neighboring relation or tags fields. 
 +
 +=== Filtering of cards represented in this field ===
 +
 +Available for: TableView Definition
 +
 +With this option you can control if the TableView is filtered at all, only by filter fields, only by relation fields, or both.
 ==== Filter Fields ==== ==== Filter Fields ====
  
Line 16: Line 42:
   * Number Filter Field   * Number Filter Field
   * Date Filter Field   * Date Filter Field
- 
-Hint: if you want to combine multiple filter fields for tableview filtering the target fields must have activated the option "Enable Multi Column Indexing for this Field": 
- 
-{{https://protogrid.wiki/_media/protogrid/enablemulticolumnindexing.png}} 
  
 === Relation Filter === === Relation Filter ===
Line 27: Line 49:
 === Text Filter === === Text Filter ===
  
-A text filter field let's the user enter any input. +A text filter field let's the user enter any input. Filtering occurs only on full match of the input term. 
 + 
 +Please note that the content of text fields is relevant for filtering only up to and including the 300th character.
  
 === Number Filter === === Number Filter ===
  
-A number filter field let's the user enter any input. +A number filter field let's the user enter any input. Filtering occurs only on full match of the input number.
  
 === Date Filter === === Date Filter ===
  
 A date filter field provides a date picker to select a date. Filtering for time values is not supported. A date filter field provides a date picker to select a date. Filtering for time values is not supported.
- +
  
 === Example: Creating a Relation Filter to filter a Table View === === Example: Creating a Relation Filter to filter a Table View ===
Print/export