Datatable: unselect a cell we lost the focus when clipboard activated in datatable

Hello,

Regarding the previous discussion,
http://forum.webix.com/discussion/5787/custom-edit-action-with-keyboard-detect-if-the-focus-is-table-filter-or-a-cell#latest

I have implemented the workaround 2. But because the clipboard is set, the solution doesn’t work because after filter is executed I lost the focus on the table filter.

See example: http://webix.com/snippet/4d27eaab

  • Select a cell e.g. “6790”

  • type in table filter a

  • wait

→ Now we have lost the focus

How I can fix this ?

Regards,

The call stack that generate this issue:

webix.clipbuffer.focus (webix_debug.js?q=1:13654)

webix.clipbuffer.set (webix_debug.js?q=1:13648)

webix.TablePaste._sel_to_clip (webix_debug.js?q=1:19664)

webix.EventSystem.callEvent (webix_debug.js?q=1:543)

webix.extend._selections._commonselect.clearSelection (webix_debug.js?q=1:18939)

webix.extend._selections._commonselect._unselect (webix_debug.js?q=1:18946)

webix.extend._selections.cell.unselect (webix_debug.js?q=1:19097)

Note: The issue occurs also when you don’t add specific code to unselect or for enter in edit mode with key. You need just to activate the clipboard.

When you filter a column and you have a selected cell; when the table is filtered ,webix library also call the unselect operation and you lost also the focus on the filter.

Issue must be fixed in the latest Webix 3.1 build

Hello,

Yes thanks.

Regards,

Eric.