Record Identification and counting in grid (edit) controls

Previous Next

The GridControls and GridEditControl classes are used to display multiple records of a table in a matrix-type form. By default, in pages, a grid object contains a Selector object and one or more Grid Cell objects. The Selector object represents a radio button displayed to the left of each row in the grid. Each Grid Cell represents a column (a field) in the grid.

When the user manipulates the grid, exactly one of the rows will be the current row. The current row is displayed by a contrasting background color and by the fact that the radio button is selected for this row only.

A RecordNumberControl object identifies a specific record in the case of an error. The Results text at the top shows numerical details on the result set.

Both the Selector and RecordNumberControl objects can be inserted via the Web Designer menu, and can be deleted. Both objects have a Position property that specifies the position of this control within the record displayed.

See Also

Grid Controls

Customising your Web Application with USoft Web Designer and CSS