Signature:
dabo.ui.browse(dataSource, parent=None)
Description:
Takes a data source, and constructs a grid to display that data. If the parent property is passed, the grid is created as a child of the parent object; otherwise, a new form is created and the grid added to that.
Returns:
A 2-tuple containing references to the parent object and the grid
Comments:
You can either pass a standard data set, or you can optionally pass any object that has a getDataSet() method, such as a Dabo cursor, which will be called to get the data set.