Kodall
Develop App

Search Views

The search view displays data in a table with functions for adding, editing, deleting and filtering.

The search view displays data in a table with functions for adding, editing, deleting and filtering.

The search views can be used only for displaying data (read-only) or for displaying and modifying data.  For more details about the visual representation of a search view the The Search View page in the User Interface chapter.

Functions of the search view

  1. Displaying the data as a table
  2. Filtering the data
  3. Selection: one by one, all visible rows, all rows that match a filter
  4. Add rows
  5. Edit, Delete and Custom actions on selected rows
  6. Paginating rows
  7. Execute global custom actions
  8. Auto-refresh when data changes (only monitors locally initialized changes)

How to use

To open the Search Views view, navigate to Develop ➔ Search Views.

Designer

Fields in the sidebar:

Entity diagram:

Rendering diagram...

FETCH tab

The fetch tab is used for writing the FETCH query that will extract the information that will be displayed in the search view.

After writing the FETCH query, click the Execute button, located above the query, to test the query. The result should appear under the query.

FILTERS tab

Fields in the filters table:

  1. Title - The title of the input field displayed to the user.
  2. Argument name - The name of the argument defined in the fetch.
  3. Input type - The input type displayed to the user.
  4. Catalog - The catalog. Used only for the FixedList and DynamicList input types.
  5. Operator - The filter operator.
  6. Property name - The property on which the operator is applied.
  7. Default value - The initial default value.
  8. Rank - The rank (order) to display the filters in order.

Tab entity diagram:

Rendering diagram...

COLUMNS tab

Fields in the columns table:

  1. Display name - The title of the column displayed to the user.
  2. Column name - The name of the column as defined in fetch.
  3. View type - The view type.
  4. Navigate edit view - The edit view for navigating.
  5. Width (px) - The width, in pixels.
  6. Rank - The rank (order) of the column.

Tab entity diagram:

Rendering diagram...

ACTIONS tab

Fields in the actions table:

  1. Action - The action. See actions for details.

Tab entity diagram:

Rendering diagram...

CONFIG tab

The configuration tab is a JSON input in which you can enable or disable additional configuration options for the search view.

ONE Workflow
{
  "sidebar.visible": true,
  "sidebar.actions.visible": true, //Since 1.7.2
  "table.buttons.add.visible": true, //Since 1.7.2
  "table.buttons.delete.visible": true, //Since 1.7.2
  "table.actions.visible": false //Since 1.7.2
}
  1. sidebar.visible property is used for displaying the left column of the search view.
  2. sidebar.actions.visible property is used for displaying the actions in the left column of the search view.
  3. table.buttons.add.visible property is used for displaying the Add button.
  4. table.buttons.delete.visible property is used for displaying the Delete button when one or multiple rows are selected.
  5. table.actions.visible property is used for displaying the actions when one or multiple rows are selected.