I got a basic jqGrid working in my coldfusion project. One of my fields in jqGrid is a combo box. Currently the editoption values are hard coded just like below.
<
I adapted the code for searchoptions instead of editoptions. However it was automatically selecting the first option and filtering the list so I added the following to alleviate that.
$response ='<select>';
$response .= '<option value=""></option>';
while($row = $stmt->fetch(PDO::FETCH_NUM)) {
$response .= '<option value="'.$row[0].'">'.$row[0].'</option>';
}
$response .= '</select>';
echo $response;