Since WijGrid is a data-centric grid, it provides the flexibility of editing the displayed data. It also allows end users to edit data using custom editors. However, we may have a requirement for a specific type of editing Single click editing or editing on specific columns etc.

This blog demonstrates the basic edit modes available in WijGrid i.e.

  • Single Click
  • Double Click
  • Selected Columns

We can enable editing in WijGrid by setting allowEditing property to true and you may refer the online sample for same. This is the the default mode where you need to press F2 Key or double click on a cell to go into the edit mode.

For Single Click, you need to handle the currentCellChanged event of the wijgrid and manually set the grid in editmode by calling its beginEdit method. Here is the code snippet for same:

   currentCellChanged: function (e, args) {
            if ($('option', 'isLoaded')) {
                selectedEditMode = $("#editMode").wijcombobox("option", "selectedValue");
                //if Editing mode is single click then start editing
                if (selectedEditMode == 'Single Click') {
                   window.setTimeout(function () {
                   }, 100);

In order to disable editing on specific column, you can set the readOnly property of that column to true.

You may refer to this complete sample implementing the edit modes of Wijgrid or its jsfiddle.