find cell from bubble
find cell from bubble
given :
var me = this;
this.editor.on('open', function (e, type) {
var edt = me.editor;
if (type === "bubble") {
$(document).on('keydown.editor', function (e) {
// find current cell
});
}
});
Is there an easy way to determine which cell the bubble is acting on?
My page has two tables and two editors running.
Thanks,
Scott
This discussion has been closed.
Replies
Hi Scott,
I think the
modifier()
method is going to be the answer here. It will return what you passed intobubble()
to trigger the edit. If that was a cell, then the cell is returned. Likewise if it was a cell index, etc.There is
ids()
, but that is for the row being edited, so in this case that would probably be less useful.Allan
Based on that, for arrows and tabbing, I got