Curl Global Community

Full Version: Page 7: Summary
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
TRY 3 Summary

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 name

Data filtering

Code:
set RecordGrid-name.filter = {RecordData field name = value}

Note: By using RecordSort and RecordFilter, you can specify more complex sorting and filtering.