Wijmo UI for the Web
allowColMoving Option
wijmo.grid.wijgrid Namespace > options type : allowColMoving Option

Determines whether end users can drag and drop to reorder columns.

Default value: false

Type: Boolean

 

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijgrid("option", "allowColMoving");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijgrid("option", "allowColMoving", newValue);
        
});
var allowColMoving : boolean;
Example
$("#element").wijgrid({ allowColMoving: true });
Remarks

The Column Moving Sample demonstrates this feature.

This option must be set to true to allow users to drag column headers to the group area when you set the showGroupArea option to true.

See Also

Reference

options type
groupAreaCaption Option
showGroupArea Option
wijgrid jQuery Widget