Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Brian Welts on Aug 31, 2009 02:38
open dhtmlx forum
gridlist in combo

Hi is it possible and if so, how do you display multiple values per line in combo box list.
Basically when clicking on the drop down arrow I want the list to expand so you can see two or more values per line displayed in a grid-like fashion

For example:

SYD | SYDNEY
MEB | MELBOURNE

Obviously I'd like formatted like a grid cells so that it has a cosmetic structure.
Answer posted by Alex (support) on Aug 31, 2009 03:04

Combo is designed to perform text values. It is possible to place html values into combo - but there are not any special methods for that:

<option value=".."><![CDATA[<div> ...</div>]]></option>