NavigationBar
The NavigationBar control provides (First, Previous, Next, Last and New) navigation between the records in a dataset.
As well as using the mouse to move between rows and fields in a data grid, pressing the Enter key will navigate to the next row.
When you choose one of the navigator buttons, the appropriate action occurs on the dataset that the data grid and the NavigationBar are bound to.
When you execute the form, rows and columns of a data grid are navigated based upon the data binding you have set.
The following buttons are provided:
![]() |
First Sets the current row to the first row in the dataset, disables the First and Previous buttons, and enables the Next and Last buttons. |
![]() |
Previous Sets the current row to the previous row and enables the Last and Next buttons. |
![]() |
Next Sets the current row to the next row and enables the First and Previous buttons. Note that pressing the Enter key will also navigate to the next row, adding a new row if necessary. |
![]() |
Last Sets the current row to the last row in the dataset, disables the Last and Next buttons, and enables the First and Previous buttons. |
![]() |
New Adds a new row to the grid below the current row. |
![]() |
Delete Deletes the current row. You will be prompted to confirm or cancel the deletion. |
![]() |
Save Saves any changes you have made on the current row. If you do not press Save, you will be prompted to save your changes when you navigate to a different row. |
![]() |
Reject Rejects any changes you have made on the current row. |
![]() |
Refresh Refreshes the data grid to reflect any changes in the underlying dataset. |
Multiple Deletions
Note: When duplicate records exist in a keyless table, for example, a buffer table:
- If the user changes one of the rows, other duplicate rows will be removed
- If the user removes one of the rows, other duplicate rows will also be removed