gump
User
 Fresh Boarder
| Posts: 1 |   | Karma: 0
|
Dropdown Menus - 2007/10/11 17:24
Hi,
I'd just like to say thankyou for this component, almost exactly what I was looking for! Great work 
I'm looking for a slightly modified filter option. Instead of having a text box, I'd like to have a dropdown menu showing all UNIQUE fields in that column. Drop down menus will give the user the ability to select what they want to filter without having to type anything.
I had a look at the code, but I'm a bit lost.
| Code: | $html .= "<input type=\"text\" name=\"" . $table . "fef" . $col->id . "\" value= \"" . $fe_filter[$col->id] . "\" size=5 >";
$html .= '</td>';
|
I think this is what I'm supposed to be editing, I think. But I need the drop down menu to populate with all unique fields in that column.
Can anyone help?
Cheers
Gump
|