replaceNull Option

Default: false


It overrides null values obtained from the database query with an empty string.

Code Example

Initialize a combogrid with the replaceNull option specified.

$( ".selector" ).combogrid({ replaceNull: true });

Get or set the replaceNull option, after init.


//getter
var replaceNull = $( ".selector" ).combogrid( "option", "replaceNull" );
//setter
$( ".selector" ).combogrid( "option", "replaceNull", false );

Live example

Press keyboard "down arrow" to open the menu. null values are replaced by an empty string.



Press keyboard "down arrow" to open the menu. null values displayed in the menu.


jQuery Combogrid Plugin Project

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