Author Topic: Cannot type in Edit mode when the grid is inside a dialog  (Read 2564 times)

lsl

  • Pro Deluxe
  • Jr. Member
  • *
  • Posts: 67
    • View Profile
Cannot type in Edit mode when the grid is inside a dialog
« on: April 30, 2014, 02:46:39 pm »
Successfully enter edit mode, but cannot type things when the grid is inside a dialog
pic 1: edit function is good
pic 2: can enter edit mode, but can't type things (more info: can use mouse to "paste" string in it, cannot use "Ctrl+V" to paste.)

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Cannot type in Edit mode when the grid is inside a dialog
« Reply #1 on: May 01, 2014, 02:14:58 pm »
Please provide more details:

Have you created grid as a child of dialog. http://api.jqueryui.com/dialog/#method-_allowInteraction

Do you evt.preventDefault or return false in click event somewhere in your code.

Is this problem browser specific. Have you checked in other browsers.


I believe you are using modal: true option in your jQueryUI dialog which causes an issue with text input.

The fix is to add higher z-index and position:relative in your editors

Code: [Select]
editor: {style:'z-index:10000;position:relative;'}
« Last Edit: May 01, 2014, 02:43:57 pm by paramquery »