sord Option

Default: "asc"


If sidx set, the initial sorting order: "asc" or "desc" (No capital letters).

Code Example

Initialize a combogrid with the sord option specified.


$( ".selector" ).combogrid({ sord: "title" });

Get or set the sord option, after init.


//getter
var sord = $( ".selector" ).combogrid( "option", "sord" );
//setter
$( ".selector" ).combogrid( "option", "sord", "title" );

Live example

Press keyboard "keydown" to open the menu. Sorted title column in "asc" order.


Press keyboard "keydown" to open the menu. Sorted title column in "desc" order.


jQuery Combogrid Plugin Project

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