Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Collapse]Vertical Grid
   [Expand]Overview
   [Expand]Fundamentals
   [Collapse]Concepts
    [Collapse]Layouts
      Bands View Layout
      Single Record View Layout
      Multiple Records View Layout
    [Expand]Binding to Data
    [Expand]Rows
    [Expand]Records
    [Expand]Cells
    [Expand]In-place Editors
     Formatting
    [Expand]Appearances
     Hit Information
    [Expand]Custom Painting
    [Expand]Alpha Blending and Background Images
    [Expand]Customization Form
     Batch Modifications
    [Expand]Drag and Drop
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Expand]End-User Capabilities
   [Expand]Member Tables
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Single Record View Layout

This topic describes the Single Record View layout which is available in the Vertical Grid Control (VGridControl). For an overview of all the layouts that can be applied to the control, see the Layouts Overview topic.

 

Expanded Single Record View Layout

The image below shows a VGridControl control with the single record view layout applied to it.

The features specific to this layout are listed below:

  • A single record is displayed at a time.
  • Row headers along with the record occupy the entire grid. Thus when resizing the row header panel the record's width is also changed. End-users can change the row header panel's width by dragging its right edge.
  • If there are too many fields displayed to fit into the view vertically, the vertical scrollbar will be displayed. Its visibility is controlled by the VGridControlBase.ScrollVisibility property.
  • The horizontal scrollbar acts as a data navigator, it scrolls through the records. Its visibility is controlled by the VGridControlBase.ScrollVisibility property.

The single record view layout is generally used when only a single record needs to be displayed at a time and the number of fields to be displayed is quite small. For example:

  • The users of your application each need to see a particular record from the bound data source. For instance, users can see only their own details.
  • You want to control how users navigate through the records in the dataset. In this case, you can disable the default means of navigating through the dataset and implement your own. Please see the Layouts Overview topic for a complete list of the default navigation methods provided by the vertical grid.
  • The vertical grid works in unbound mode. In this case, the grid is typically used to edit a set of settings (similar to the Properties window in Visual Studio's IDE).

If there are a large number of fields, it's better to use the Bands View layout. If you need to provide an easy way of navigating through the records to your end-users, consider using the Multiple Records View layout.

Expanded See Also

How would you rate this topic?​​​​​​​