Thread Rating:
  • 454 Vote(s) - 2.86 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Page 4: Structure of a Program for Setting the RecordGrid's Appearance and Functiona
06-16-2011, 04:24 PM, (This post was last modified: 06-23-2011, 04:10 PM by ashimo.)
#1
Page 4: Structure of a Program for Setting the RecordGrid's Appearance and Functiona
Structure of a Program for Setting the RecordGrid's Appearance and Functionality



1. Setting function-modifying options such as 'cells-take-focus?'

Code:
cells-take-focus? = false,
column-movable? = false,
column-resizable? = false,
editable?  = false,
multiple-selection-enabled? = false,
record-selection-enabled? = false,
column-selection-enabled? = true,

As we found in Basics 1, RecordGrid has many actions that the user can perform. These can be modified by specifying options. Let’s take a brief look at these options.





Let’s take a look at what happens when we change the true/false settings.

2. Setting options that affect the appearance

Code:
display-filler-column? = true,
display-navigation-panel? = false,
alternate-row-background = #ddeeee,
grid-line-color = #aaaaaa,
horizontal-grid-line-width = 1px,
vertical-grid-line-width = 2px

In (1), we touched on the function-modifying options. Here, we’ll look at those options that are used to change the appearance.




Try changing the values of the above options to see how they affect the appearance.


Attached Files
.png   3-3.PNG (Size: 13.04 KB / Downloads: 1,073)
.png   3-4.PNG (Size: 19.63 KB / Downloads: 1,043)


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 7: Summary ashimo 0 3,177 06-16-2011, 04:37 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 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('58')