23.12.2012 Views

ZK Developer's Guide

ZK Developer's Guide

ZK Developer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Extending the Online Media Library<br />

The changed listbox is shown in the following code:<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

For lists with many entries, it makes sense to have a sorting facility. This feature is<br />

supported directly, too. If we enable the feature, the result looks like the figure that<br />

follows. The columns that are now extended with sorting capability have<br />

two arrows.<br />

The simplest way to extend a column with the sort feature is to set the sort attribute<br />

with a value auto.<br />

<br />

<br />

[ 78 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!