Data Grids
Data Grids - Visual Options
The Data Grids - Visual Options are accessed via the View | Options (or the
Configure Options button)|Data Grids - Visual page.
Show
Focus Rectangle
Default - Unchecked
If checked, when you select an item in the data grid and then click outside of the grid, the item you selected is marked with a black rectangle.
Selection
Default - Checked
If checked, when you select an item in the data grid and then click outside of the grid, the item and cell remain highlighted. If unchecked, when you click outside the grid the item and cell are no longer highlighted.
Grid
Default - Checked
When checked, the grid displays around the data (lines appear between the rows and the columns).
Preview Column
Lines spinner
Default - 1
This lets you change the number of lines included in the preview column. You can select from 1 (the default) to 5. If you select 0 the preview is removed and you cannot preview columns.
Font button
Default - MS Sans Serif 8 point
This invokes the font selection window. Changing the font here only affects the font displayed in the preview column.
123
Toad for Oracle
Row lines
Width spinner
This controls the thickness of the lines between rows on the data grid. The measurement is in points.
Fonts
Grid button
Default - MS Sans Serif 8 point
This invokes the font selection dialog. Changing the font here affects the entire data grid, with the exception of the preview column and headers. All data grids will have the same font.
Header button
Default - MS Sans Serif 8 point
This invokes the font selection dialog. Changing the font here only affects the font displayed in the headers of the data grids.
Options
Column Sizing
Default - Checked
If checked, you can click-and-drag between columns to resize them.
Column Moving
Default - Checked
If checked, you can click-and-drag a column to another location in the grid.
124
Data Grids
Tabs
Default - Checked
If checked, lets you tab from column to column through one record. You cannot tab through multiple records unless Tab Through is also checked.
Tab Through
Default - Unchecked
If checked, you can tab through more than one record. In order to tab through the records, you must also have Tabs checked.
Row Select
Default - Unchecked
If checked, clicking in a cell in the data grid selects the entire row rather than only one cell.
Multi Select
Default - Unchecked
If checked, this automatically engages row select. Multi Select lets you select more than one row at a time by pressing either <SHIFT> or <CTRL> while clicking on the rows.
Cancel on Exit
Default - Checked
This applies to the Schema Browser | Data Grid for a table. If checked, if you click the Insert Record button and do not enter data...
then when you click back on the table name in the table list at the left...
125
Toad for Oracle the blank row will be deleted.
If the option is unchecked, the blank row will remain.
Immediate Edit
Default - Unchecked
If this option is checked, as soon as you click on a data cell in the grid, the grid will enter edit mode. If unchecked, you must select the cell twice to place the grid in edit mode or just begin typing in the cell. If the data grid is not editable, and the option is checked, it will still appear to enter edit mode but the data will not be editable.
Confirm sorts when clicking on column header
Default - Checked
If checked, the Sort Options window displays when you click on a column header.
Unchecked, when you click on the column it is sorted in either ascending or descending order (whichever is the opposite of its current state).
Allow Excel style filtering
Default - Unchecked
If checked, dropdown arrows display at the top of each column that let you access a Custom autofilter menu item. The autofilter lets you filter with a variety of dropdown choices such as Greater than, Less than, and Less than or Equal to.
For example, if you want to retrieve all rows in a column that start with M, select the dropdown in the column header, click Custom, and select Equals from the dropdown box. In the textbox to the right of Equals type M*. Click Ok. The filter will only display rows in the column that start with M.
You can also toggle the Custom autofilter dropdown arrows via the data grids right-click Excel Style Filtering menu item.
126
Data Grids
Null columns radio buttons: Display {null}/Yellow
If selected, any data cells that are null will either contain the words {null} or display in yellow depending on the radio button selection. If neither radio button is selected, the null data cells will display as empty cells.
Row numbers: Enabled
Default - Unchecked
If checked, a column containing row numbers displays. It is automatically fixed and the first column in the data grid.
Row numbers: Same color as grid border
Default - Unchecked
If checked, the row number background will be the same color as the border background. If unchecked, the row number background will be white.
Column Sizing
Size to header width radio button
Default - Not Selected
If selected, columns are sized to the width of the headings, and data wider than the heading is truncated.
Size to data width radio button
Default - Selected
If selected, columns are sized to the width of the data that they contain.
Allow resize column out of grid
Default - Unchecked
This option applies to the last column of the grid. If checked, you can resize the last column of the results grid.
Allow columns to be less than the header width
Default - Unchecked
If checked, you can make columns narrower than the width of the column header.
127