Re: Anyone has examples of how to use list-view?
Hi all,
@Paul:
I've read your post from 25th Oct. and although i consider myself a capi newbie (more of a Lisp newbie actually) i have managed to get around to working with most of the capi panes and layouts even if always struggling to get the results i want.
@Denis:
I appreciate your example but i'm having real problem is dealing with LIST-VIEW not TREE-VIEW (will get to it eventually).
Here are some of the things bothering me with LIST-VIEW, i'm using it with as :REPORT view.
a) I wish it could behave a little more multi-column-panel where the whole row gets highlighted instead of just the first column field
b) Can't understand how the state images work. I added image-lists as explained in the documentation both :small and :state which are supposed to be used as small-image and state-image respectively, i also provided :image-function and :state-image-function functions as initargs but when calling capi:redisplay-collection-item the state-image simply disappears while the small-image gets updated correctly. What's the purpose of state images then?
c) multi-column-panel allows one to specify callbacks for clicking on the column headers (through :header-args initarg), is it just me or this should be an expected behavior?
Overall i wanted a multi-column-panel that allowed for an image on the first column so that it's easier to denote a given item's state (awaiting, processing, processed). I'm completely aware of ystok-grid but i hoped capi would provid facilities for such a thing.
Cheers,
Alex Paes