IKTree v1.1.0 released

On April 11, 2008, Flash / Flex - 3 Comments

I’ve made some changes to the tree, which add some more functionality and make it even more (re-)usable.

IKTree now has:

  • Caching / Recycling of children, which reduce the ‘flickering’
  • Label & IconFunctions
  • Object access for labelfields. You can now access objects in the tree for the labelfield. For instance, you can set ‘obj.label’ as labelField. It will then set the label as data[obj][label].
  • Doubleclick support
  • Added some styles (indicatorThickness & indicatorColor)

more…

[Flex] One labelfunction for multiple datagridcolumns

On March 27, 2007, Flash / Flex - 2 Comments

The labelfunction of a listbased component is nice, but a bit limited.
For instance, you have to specify the (data)fieldname inside the function, which makes it impossible to use it for other columns. Wouldn’t it be nice if you could write one labelfunction for all your columns? I thought it would.

In order to accomplish this, I needed to have the columndata inside the labelFunction. At first, I was thinking of extending the labelFunction, but that wouldn’t help me much, because Flex was still sending only the original data and not the columndata. So I went deeper in the component, searching for the function responsible for calling the labelFunction.

more…