Home   Single Page

descriptionプロパティ

コンボに説明を加え、わかりやすくすることができます。さらに、コンボ項目にイメージを指定することもできます。

<combobox>
    <comboitem label="Simple and Rich" image="/img/coffee.gif"    
    description="The simplest way to make Web applications rich"/>    
    <comboitem label="Cool!" image="/img/corner.gif"    
    description="The coolest technology"/>    
    <comboitem label="Ajax and RIA" image="/img/cubfirs.gif"    
    description="Rich Internet Application by Ajax"/>    
</combobox>

コンボボックスは他のコンポーネントのようにイメージをサポートし、setImageContentメソッドを見て動的に生成されたイメージのコンテンツをcomboitemコンポーネントに指定できます。
より詳しくはImageセクションを参照してください。