Table of Contents

Working with Data in the Grid View

When you import data, a corresponding Grid View is automatically generated for you. The Grid View offers a representation of the table and the data it contains, enabling you to both view and edit the data. Because the View is synchronized with the database table, any edits you make will cause the database table to automatically update.

You can open the Grid View of a table in your project by double-clicking the Grid View node () of a selected table Entity in your project, as displayed in the Projects window. Alternatively, choose Open from the Grid View node's right-click menu.


The Grid View currently supports the following functionality:


The following table lists the Grid View icons and their descriptions. These icons are located in the tool bar found above the Grid View in the main window. Many of these actions can also be accessed from the right-click menu of the column headers row:

Icons

Descriptions

Add a new row to the end of the data

Delete the selected row(s)

Create a new standard field

Create a new chemical terms field

Delete the selected field

Send to query panel as new query

Add to query panel as new term for the current query

Create new list using current rows/selection

Customize table widget settings



Browse and Query modes

The grid view had two modes, Browse and Query. In Browse mode you can explore the data whilst in Query mode your can specify criteria for a query and run the query. You switch between the two modes using the Query/Browse toggle buttons located in the left hand side of the Grid View toolbar.



Navigating records

In the grid view you would usually navigate through the data using the horizontal scroll bar and select records using the mouse. But you can also use the navigation tools in the main toolbar.

You can move forward or back, and move to the first or last record by using the navigation buttons. You can jump to a particular record by clicking in the text box that displays the current selection and typing the record number that you want to go to. e.g. to move to the 123rd record click in the box type 123 and hit the return key.

The navigation toolbar has global context. Its contents correspond to the currently selected view. Changing the selected view will result in the context of the navigation toolbar updating.

Sorting Data

Data can be sorted by a particular column, or mulitple columns. This can be done using the sort buttons in the main toolbar:

Icons

Descriptions

Sort column in ascending order

Sort column in descending order

Clear current sort directives

Open the Sort Table dialog

The sort toolbar has global context. Its contents correspond to the currently selected view. Changing the selected view will result in the context of the sort toolbar updating.


Editing Data


Formatting Table Display Settings

Table display settings can be adjusted according to your needs. Open the Table Widget Settings dialog by clicking the icon () in the toolbar or choosing Customize Widget Settings from the right-click menu of the column headers row. The Table Widget Settings dialog allows you to adjust the column and cell properties of elements within the table.


Typically, each field type has its own display settings options. Of particular note are:


To adjust table or column properties:

  1. Under Table Columns on the left side of the dialog select a field node. Details of the relevant properties display in the right pane. Note that there are two tabs, Visual Properties and Field Definition, which allow you to manage changes.
  2. Make any adjustments by entering values for the displayed properties directly into the fields provided.
  3. Click close to view changes.

Formatting Table Appearance

You can adjust the Grid View to improve visibility by clicking the button () located in the top left corner of the Grid View. The following menu displays:



From here you can:

Note: You can also re-order columns by dragging the column heading to a new position.



Copyright © 1998-2008 ChemAxon Ltd. All rights reserved.