Create the data to be displayed with RecordSet
Data creation
Code:
{RecordSet
{RecordFields
{RecordField field name 1, [option 1 = value, …] } ,
|| Describe field value
{RecordField field name x, [option x = value, …] } ,
},
{RecordData field name 1 = data, …},
|| Describe record value
{RecordData field name 1 = data, …},
}Display the data using a Grid with RecordGrid
Grid display
Code:
{RecordGrid
record-source = RecordSet
|| ,
|| Option = value
}Options for modifying RecordGrid Functionality
Options for modifying RecordGrid appearance
Sorting and Filtering
Data sorting
Code:
set RecordGrid-name.sort = field nameData filtering
Code:
set RecordGrid-name.filter = {RecordData field name = value}Note: By using RecordSort and RecordFilter, you can specify more complex sorting and filtering.