Skip to content
Open
Changes from all commits
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
12 changes: 11 additions & 1 deletion 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. By default will use global editor.
*/
this.editActiveCell = function (editor) {
makeActiveCellEditable(editor);
};

/**
* Given a set of columns, make sure 'minWidth <= width <= maxWidth
Expand Down Expand Up @@ -6283,7 +6293,7 @@ var DobyGrid = function (options) {
* @memberof DobyGrid
* @private
*
* @param {function} editor - Editor factory to use
* @param {function} [editor] - Editor factory to use. By default will use global editor.
*/
makeActiveCellEditable = function (editor) {
if (!self.active || !self.active.node || self.options.editable !== true) return;
Expand Down