How to Increase Size of Multiple Select in Edit Form

The default size is 3, but you can use jqGridAddEditBeforeShowForm event to change the size attribute. 

Here's the code snippet:

$sizeUpSelect = <<<BEFORESHOWFORM
function(status, rowid)
{
$("#reportsTo").attr("size", 10);
}
BEFORESHOWFORM;
$dg->add_event('jqGridAddEditBeforeShowForm', $sizeUpSelect);

Make sure to change "reportsTo" to your own column name. 

Screenshot: http://screencast.com/t/3pcrZmpbChS

Feedback and Knowledge Base