Grooper Help - Version 25.0
25.0.0024 2,166

Data Grid

Control GrooperReview.DataGrid

Displays a user interface for reviewing, correcting, or entering data for a Grooper document.

Remarks

The Data Grid is the primary UI component for presenting, editing, and validating extracted data from Grooper documents. It provides a structured, interactive view of a document's data model, supporting both production and design-time scenarios.

The Data Grid is responsible for rendering fields, tables, and sections defined by the document's Content Type, and enables users to review, correct, and validate extracted values. It supports keyboard navigation, context menus, and advanced features such as error navigation, sticky values, and preview rendering.

Usage Scenarios

  • Production Review:
    In the Data Viewer, the Data Grid displays the extracted data for a document, allowing users to review and correct values, validate fields, and resolve errors before export or downstream processing.

  • Design and Testing:
    On the Design Page, the Data Grid can be used to preview extraction results, test data models, and verify configuration changes in real time.

  • Preview Mode:
    When configuring Data Elements on the Design Page, a live preview of the Data Grid is displayed to show how the data will appear.

Key Features

  • Hierarchical Data Presentation:
    Presents fields, tables, and sections in a logical hierarchy that mirrors the document's data model.

  • Keyboard Shortcuts:

    • Use F8 to navigate to the next error on the current document.
    • Use F7 to display a List Searcher when editing a field with a value list.
    • Use arrow keys to move between cells and sections.
  • Context Menus:
    Provides right-click menus for fields and table rows, enabling quick access to commands such as flagging, clearing values, or launching custom actions. Context menus adapt to the selected item, offering relevant actions for fields, tables, or rows.

  • Sticky Values:
    Supports the application and retrieval of sticky values, allowing certain field values to persist across documents for streamlined data entry. Sticky values can be applied or retrieved to speed up repetitive review tasks.

  • Error Handling and Validation:
    Highlights invalid or missing values, supports error navigation, and integrates with document flagging mechanisms. Errors are visually flagged, and users can quickly jump to the next error using keyboard shortcuts.

  • Tabular and Filtered Views:
    Can render data in a tabular format, filtered by Content Type, to support specialized review or extraction scenarios. Tabular views are especially useful for documents with tables or repeating sections.

Interactive Components

  • Inputs:
    Editable fields use text boxes, dropdowns, or custom controls depending on the field type.
  • Buttons and Commands:
    Save, reload, and context menu actions are available for document-level and field-level operations.
  • Child Controls:
    The grid may embed other controls, such as Property Grid for advanced editing, or Thumbnail Viewer for page previews.
  • Visual Indicators:
    Error flags, validation icons, and sticky value markers help users quickly identify issues and track changes.

Accessibility & Usability

  • Keyboard navigation and shortcuts are fully supported for efficient review.
  • Context menus provide quick access to common actions.
  • Visual cues guide users to errors and required fields.
  • Sticky values and auto-complete features reduce repetitive data entry.

Example Workflow

  1. Open a document in the Data Viewer or Design page.
  2. The Data Grid loads and displays the document's data model.
  3. Review and edit fields, using context menus and keyboard shortcuts to correct errors or update values.
  4. Save changes; errors are flagged for review, and sticky values are applied as needed.
  5. Use advanced features such as preview mode or verbose statistics for specialized review scenarios.

Customizing Appearance of Data Elements

The appearance of Data Elements in the Data Grid is highly customizable using CSS properties and style sheets defined on Data Elements.
See CSS Builder for more details.

  • Local CSS and Included Style Sheets:
    Use the CSS property on any Data Model, Data Section, or Data Table to define local style rules.
    Reference external style sheets (as Resource Files) using the 'Included Style Sheets' property on the Data Model for global or shared styles.

  • CSS Class Assignment:
    Each Data Element (including Data Field, Data Section, Data Table, and Data Model) exposes a CSSClass property. Assign one or more class names to this property to target elements for custom styling.

  • Dynamic Styling:
    Assign dynamic CSS classes by including a variable named "CSS_Class" on a Data Model, Data Section, or Data Table. This enables conditional formatting based on data values, extraction results, or workflow state.

Child Controls

NameTypeSummary

Used By

Notification