Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/doby-grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -3494,6 +3494,16 @@ var DobyGrid = function (options) {
}
};

/**
* Edit the currently active cell (if the table, the column, and the item is editable)
* @method editActiveCell
* @memberof DobyGrid
*
* @param {function} editor - Editor factory to use

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind changing this line to:

@param {function} [editor] - Editor factory to use. By default will use global editor.

To signify that the editor param is optional?

Additionally, we should make the same change to the makeActiveCellEditable header as well.

*/
this.editActiveCell = function (editor) {
makeActiveCellEditable(editor);
};

/**
* Given a set of columns, make sure 'minWidth <= width <= maxWidth
Expand Down