Categories | Question details Back To List | ||
IE: keymap_excel and cell focus Hi, I get have a strange bug with an editable DHTMLXGrid. I'm using the keymap_excel. When editing a cell and pressing the <enter> key, the selection goes to the next cell in the same column. At that point, when typing a value in that new cell, usually the editor for that cell appears and the typed value appears in the editor. But not always.... Something to note is that an ajax call is performed when a new row is selected to display some information on that row at another location on the page. It seems like this ajax calls does something to the grid or to the focus. After the ajax calls completes, the cell still looks selected but when i type a value, the editor opens but no value appear in there, and the focus is not in the textbox. This only happens in IE, everything seems ok in firefox. Do you have an idea on what is going on? Is there some javascript i could call to put the grid back in the normal state after the ajax call. I tried to call grid.setActive(true) but it didn't change anything. Thank you, Answer posted by dhxSupport on May 12, 2009 05:46 Does this issue occurs only with "dyn" eXcell type? Could you plese send us detailed information about this bug: what version of IE do you use? What methods do you use to initialize grid? Answer posted by Alim Hassam on May 12, 2009 14:18 My problem is similar but not identical to the example attached.
Thanks -Alim
Answer posted by Alim Hassam on May 12, 2009 14:19 The problem is only in IE6, for some reason it works in Firefox and other browsers. Thank you, -Alim Answer posted by dhxSupport on May 13, 2009 05:37 Could you please explain what is a reason of moving focus to the external input and after that return focus to the grid? Also please don't attach in this forum files from PRO version. Answer posted by dhxSupport on May 13, 2009 05:53 To solve your problem add class="editable" to the div with id "rerenderRegion": <div id="rerenderRegion" class="editable"> Answer posted by dhxSupport on May 13, 2009 06:20 Working sample will be send you by email |