Hi there,
I found a bug if you add click a MenuItem which adds an record to listgrid. If you are clicking at the side of the MenuItem, the new record is correctly added and the editing starts.
In IE11 the text in the listgrid is marked but the focus is staying on the menu. It seems to happen if you're clicking the side of the button (at least this i how i could reproduce it)
This behaviour is reproducable in IE11 with the latest nightly (v10.0p_2015-03-17). Before moving the mouse fast, i tried to hit several keys ;-)
this is the code to reproduce this:
Best Regards
I found a bug if you add click a MenuItem which adds an record to listgrid. If you are clicking at the side of the MenuItem, the new record is correctly added and the editing starts.
In IE11 the text in the listgrid is marked but the focus is staying on the menu. It seems to happen if you're clicking the side of the button (at least this i how i could reproduce it)
This behaviour is reproducable in IE11 with the latest nightly (v10.0p_2015-03-17). Before moving the mouse fast, i tried to hit several keys ;-)
this is the code to reproduce this:
Code:
isc.ListGrid.create({ "ID" : "theMainGrid", "width" : "100%", "height" : "100%", "selectionType" : "multiple", "canEdit" : true, "editEvent" : "doubleClick", "autoSaveEdits" : false, "selectionProperty" : "isSelected", "fields" : [{ "name" : "textField", "title" : "title", "type" : "text", "width" : "280", "canEdit" : true, } ] }); isc.MenuButton.create({ "ID" : "addMenuButton", top : 100, left : 100, "title" : "new", menu : isc.Menu.create({ "selectionType" : "single", "canEdit" : false, "data" : [{ "click" : function (p1, p2, p3, p4) { isc.showPrompt('Loading...'); theMainGrid.setData([{ "textField" : "new element", "mainGridElementIndex" : "1" } ]); theMainGrid.selectSingleRecord(theMainGrid.data.find("mainGridElementIndex", 1)); theMainGrid.startEditing(theMainGrid.data.indexOf(theMainGrid.getSelectedRecord())); isc.clearPrompt(); }, "title" : "click here" } ] }) })
Comment