Thread Rating:
  • 436 Vote(s) - 2.84 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Page 7: Summary
06-16-2011, 04:37 PM, (This post was last modified: 06-23-2011, 04:12 PM by ashimo.)
#1
Page 7: Summary
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.



Attached Files
.png   3-5.PNG (Size: 13.32 KB / Downloads: 1,078)
.png   3-6.PNG (Size: 14.11 KB / Downloads: 1,151)


Possibly Related Threads...
Thread Author Replies Views Last Post
  Page 1: Displaying Data in a Grid ashimo 2 6,559 08-25-2011, 09:55 AM
Last Post: ashimo
  Page 8: Extra Practice ashimo 0 3,355 06-16-2011, 04:39 PM
Last Post: ashimo
  Page 6: Structure of a Program that Sorts and Filters the Data ashimo 0 3,281 06-16-2011, 04:32 PM
Last Post: ashimo
  Page 5: Sorting and Filtering Data ashimo 0 3,794 06-16-2011, 04:27 PM
Last Post: ashimo
  Page 4: Structure of a Program for Setting the RecordGrid's Appearance and Functiona ashimo 0 3,702 06-16-2011, 04:24 PM
Last Post: ashimo
  Page 3: Using Options to Modify the RecordGrid Appearance and Functionality ashimo 0 3,781 06-16-2011, 04:20 PM
Last Post: ashimo
  Page 2: Structure of a Program that Displays a Table in a Grid ashimo 0 3,230 06-16-2011, 04:16 PM
Last Post: ashimo
Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('61')