The three components covered in this chapter extend the
class, and the methods for working with these data-driven controls
are consistent in their implementation and use. Each of these data-driven
controls has its children generated by a data provider and allows for
sorting, filtering, reordering, and the setting of visual components to
act as item renderers and item editors. These controls also allow for
dragging and dropping.
The recipes in this chapter focus on working with item renderers,
controlling selection, setting styles in
ListBase controls, and working with data
providers for different control types. This does not begin to exhaust the
topics in working with these
though. For more recipes on working with drag-and-drop, see Chapter 10, “Dragging and Dropping.” For recipes on working with skinning, see Chapter 9,
“Skinning and Styling.”
You need to create a list in which all the items are editable.
to true and listen for the
itemEditEnd properties, or set the
editedItemPosition by passing an object
List controls can be made
editable by simply setting the list’s
editable property to true. This means that
each renderer will become an editor control with a
TextInput populated with the value currently
itemRenderer that the ...