Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
jvx:reference [2020/06/15 08:49] cduncan [DataType] |
jvx:reference [2020/06/15 08:50] cduncan [DataPage] |
||
---|---|---|---|
Line 642: | Line 642: | ||
It is possible to add new data types by simply implementing ''%%IDataType%%''. | It is possible to add new data types by simply implementing ''%%IDataType%%''. | ||
- | ===== DataRow ===== | + | ===== Data Row ===== |
The data row represents a single row of data; it holds/references its own row definition and, of course, provides access to the values of the row. Accessing the data row can be done either by column index or column name, and the methods either return or accept objects. Let’s look at a simple usage example: | The data row represents a single row of data; it holds/references its own row definition and, of course, provides access to the values of the row. Accessing the data row can be done either by column index or column name, and the methods either return or accept objects. Let’s look at a simple usage example: | ||
Line 653: | Line 653: | ||
dataRow.setValue("COLUMN_A", "New Value"); | dataRow.setValue("COLUMN_A", "New Value"); | ||
</code> | </code> | ||
- | ===== DataPage ===== | + | ===== Data Page ===== |
- | The data page is basically a list of data rows, it also holds its own row definition, which is shared with all the contained data rows. | + | The data page is basically a list of data rows. It also holds its own row definition, which is shared with all the contained data rows. |
- | The main usage of data pages is to allow paging in a master/detail relationship. If the master selects a different row, the detail databook selects the related data page. | + | The main usage of data pages is to allow paging in a master/detail relationship. If the master selects a different row, the detail data book selects the related data page. |
===== DataBook ===== | ===== DataBook ===== |