Skip to content

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);
$dg->add_event('jqGridAddEditBeforeShowForm', $sizeUpSelect);

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


Feedback and Knowledge Base