width Option

Default: css value


The menu width given in px, em, etc. (eg "250px"). With this option is possible to set a different width for each combogrid.

Code Example

Initialize a combogrid with the width option specified.

$( ".selector" ).combogrid({ width: "350px" });

Get or set the width option, after init.


//getter
var width = $( ".selector" ).combogrid( "option", "width" );
//setter
$( ".selector" ).combogrid( "option", "width", "500em" );

Live example

Press keyboard "keydown" to open the menu. width: 800px.


Press keyboard "keydown" to open the menu. width: 600px.


jQuery Combogrid Plugin Project

Combogrid is designed, developed and maintained by a single programmer.