View Categories

Customizing Grid Layout

Table of Contents

Modules with data grids in ConMan allow users to personalize layouts for better usability, such as adjusting column widths, orders, or visibility. This is facilitated by DevExpress’s TcxGridDBTableView, with Delphi managing the UI persistence and PgDac linking to database-stored preferences.

Key Features: #

  • Layout Adjustments: Resize, reorder, hide/show columns, and apply groupings or sorts interactively.
  • Auto-Save: Changes are saved automatically upon closing the module or app, stored via PgDac for user-specific recall.
  • Restore Options: A “Restore Layout” button or menu to reset to defaults.
  • Multi-User Support: Layouts are per-user, ensuring personalized experiences without affecting others.
  • Export Compatibility: Custom layouts influence exports, maintaining consistency.

How to Use: #

  1. Accessing a Grid for Customization:
    • Open a module with a grid (e.g., Projects) from the Menu Screen.
    • Interact with the TcxGridDBTableView grid displaying your data.
  2. Making Layout Adjustments:
    • Resize columns by dragging borders.
    • Reorder by dragging headers.
    • Hide/show columns via right-click menu or column chooser.
    • Apply filters or groups for dynamic views.
  3. Saving the Layout:
    • No manual save needed—close the module or app, and changes persist via PgDac.
    • Reopen to see your custom layout applied automatically.
  4. Restoring or Resetting the Layout:
    • If a “Restore Layout” option is available (e.g., in the grid menu), click it to revert to defaults.
    • For manual reset, delete saved preferences (admin access may be required).
  5. Troubleshooting Customizations:
    • Issues Loading: If layouts don’t apply, check database connectivity (PgDac) or clear cache.
    • Conflicts: In shared environments, ensure your user profile is correctly loaded.
    • Best Practices: Experiment in non-critical modules; DevExpress ensures smooth dragging and resizing.

Customizing grids improves productivity by tailoring the interface to individual workflows.