The C1DbNavigator class represents the C1DbNavigator control. It is a data bound control that provides buttons for convenient navigation over data source rows. It enables movement to the first, last, previous and next row and common data actions such as updating the data source and refreshing data.
The NavigatorButtonEnum gets the list of available buttons for the C1DbNavigator control which are the following: Add, Apply, Cancel, Delete, Edit, First, Last, Next, Position, Previous, Refresh, and Update.
The Position value of the NavigatorButtonEnum is used in the BeforeAction event when the text in Position text box is changed. For an example see, Changing the Navigation in the Navigator.
The C1DbNavigator control includes the following buttons that can be used to navigate and edit the records in a dataset
Button | Description |
---|---|
First button. Moves to the first row in the record. Visible by default. | |
Previous button. Moves to the previous row in the record. Visible by default. | |
Next button. Moves to the next row in the record. Visible by default. | |
Last button. Moves to the last row in the record. Visible by default. | |
Add button. Adds a row to the record. Not visible by default. | |
Delete button. Deletes the row in the record. Not visible by default. | |
Edit button. Edits the row in the record. Not visible by default. | |
Apply button. Applies the changes made in the record. Not visible by default. | |
Cancel button. Cancels the changes. Not visible by default. | |
Update button. Updates the record. Not visible by default. | |
Refresh button. Refreshes the record. Not visible by default. |