ObjectListView
What’s New?
v1.2 - September 2008
v1.1 - July 2008
v1.0.1 - June 2008
v1.0 - June 2008
v0.9 - May 2008
v0.5 - March 2008
v0.1 - November 2006
Features of an ObjectListView
Ease of use
Automatically create the ListCtrl from model objects
Different flavours of ObjectListView for different purposes
Editing cell values
Automatic sorting
Supports all ListCtrl views
More control over column width
Displays a “list is empty” message
Checkboxes in any column
Alternate rows background colors
Custom row formatting
Model object level operations
Searching on the sort column
Fast searching on sorted column
Filtering
Getting Started
Introduction
Seeing the big picture
Mental gear shift
Unlearn you must
This bit goes here, that bit goes there
Converting to strings
Put it all together and what have you got?
What have we achieved?
Adding some images
Smarter string conversions
Playing with groupies
And they’re off and running
Learning to cook
1. What flavour of ObjectListView do I want to use?
2. How do I let the user edit the values shown in the list?
3. How can I stop the user from making a column too narrow or too wide?
4. How can I stop the user from resizing a column?
5. How can I make a column get bigger when the ObjectListView is made bigger?
6. How can I change the colours of a row?
7. How do I use checkboxes in my ObjectListView?
8. How do I change the message that’s shown when the ObjectListView is empty?
9. How can I show a list of dictionaries in the ObjectListView?
10. How can I reference the column in a valueGetter function?
11. How can I change the way group headers look?
12. How can I only redraw the control every N seconds?
Recipe - Cell Editing
Deciding on a cell editor
Getting and Setting the Editors value
Updating the Model Object
After the update
How Can You Customise The Editing
Using a GroupListView
Understanding the process
Getting the “group key”
Converting the “group key” to title
Using
SetGroups()
directly
Customizing using events
Other capabilities
Using a ListCtrlPrinter
When would I want to use it?
How do I use it in my project?
Primary commands
Working in a structured environment
Controlling the appearance
Can’t you just show me what these things do?
Understanding the process
Other things to be aware of
Frequently Asked Questions
What platforms does it work on?
Can an ObjectListView have rows of different heights? Can it word-wrap?
Why doesn’t the ObjectListView auto-update when I change my model objects?
Why doesn’t it do
some-feature-I-really-want
?
Why is the text of the first column indented by about 20 pixels?
Major Classes Reference
ObjectListView
ColumnDefn
GroupListView
BatchedUpdate
Change Log
ObjectListView
Docs
»
Major Classes Reference
Edit on Bitbucket
Major Classes Reference
¶
:ref:objectlistview-class
:ref:columndefn-class
:ref:grouplistview-class
:ref:batchedupdate-class
ObjectListView
¶
ColumnDefn
¶
GroupListView
¶
BatchedUpdate
¶
Read the Docs
v: 1.2
Versions
latest
stable
1.3.1
1.2
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.