Sample Grid

In this topic: Hide

 

The Sample (Red) Grid displays all of the samples within the selected routine. There are several functions you can use that sort and remove the samples within the query.

Sorting Samples

Double clicking a column heading will sort the samples alphabetically or numerically by the information within that column.

Removing Unwanted Samples

There are a couple ways to remove unwanted samples from the grid. The first is to select the samples you want removed, then clicking the remove button () on the view toolbar. The next way would be to select the samples you want to keep and clicking the keep selected button () on the view toolbar. Holding the Ctrl button allows selection of multiple samples, holding the shift button allows selection of a list of samples.

Show All

To return all of the samples within the query to the sample grid, click within the sample grid, then click the show all button () on the view toolbar. All of the samples will be returned to the grid.

Sample Filter Columns

When CM4Di is started, the grids will be empty. After loading data and selecting a report type, the columns of the grids will display data. You can choose which columns you would like displayed with the Sample Filter Columns dialog. To open the Sample Filter Columns dialog, right click the double bar on the left side of the Sample Grid, then select Choose Columns from the menu or click the Choose Columns button on the iView toolbar. To display individual columns, select the check box next to the column. To select all of the columns in a section click All. To clear all of the check boxes in a section, click the None button.

Sorting Sample Grid Columns

Under Auto Sort, selecting Natural Order will display the rows of the Sample Grid as they exist in the database. Selecting Sample Label will sort the contents alphabetically by the feature label. Additionally, the rows of the Sample Grid can be sorted in ascending or descending order. Selecting a radio button next to one of the columns will sort the rows of the grid by the contents of that column.

Use Sort Setting for Sample Select

The Sample Grid can be sorted by default according to the settings defined in the Cm4d.ini file:

1.     If you set the Cm4d.ini file to "SampleSortUse4Select=1", the Use Sort Setting for Sample Select check box will be enabled, and the Sample Sort options set in the Cm4d.ini file will be used to sort the Sample Grid.

2.     If you set the Cm4d.ini file to "SampleSortUse4Select=0", the Use Sort Setting for Sample Select check box will be disabled, and the Sample Sort options selected in the Sample Filter Columns dialog will be used to sort the Sample Grid.

Export Grid to CSV

To export one of the grids to CSV (Comma Separated Value), right click the side bar of the grid, then select Export to CSV. The Export Data dialog will appear. Browse to a location where you would like to save the file. Click Setup Print Header/Footer to open the Print Grid Setup dialog.