Author Topic: In pop up dialog window , the textbox is not able to edit  (Read 2894 times)

bsolteam

  • Pro Deluxe
  • Full Member
  • *
  • Posts: 107
    • View Profile
In pop up dialog window , the textbox is not able to edit
« on: September 02, 2014, 07:50:19 pm »
Hi param team,
                       I have a pop up dialog window in that i have one column model which takes input from keyboard. The problem is i am not able to enter any text in that textbox. Below is my sample code .please give some solution.




   var obj = {

                            editable : true,
                           numberCell : false,
                           resizable : false,
                           scrollModel : {
                                 autoFit : true,
                                 theme : false
                                 },
                           dragColumns : {
                                 enabled : false
                           },
                            draggable : true,
                           collapsible : false,
                           dataModel : DataModel,
                           colModel : colModel,
                           showTitle : false,
                           showBottom : false,         
                           sortable : false,
                           editModel: {
                                 clicksToEdit: 1,
                                    saveKey: $.ui.keyCode.ENTER
                               },
                           selectionModel : {
                                 type : 'text',
                                 
                           },
         
                        };


 var colModel = [
                     {
                                                               title : "Event <label class='req' style='display:inline'>*</label>",
                        width : '40%',
                        dataType : "string",
                        align : "center",
                        dataIndx : "eventType",
                        editable : true,           
                     },   
];



Thanks in advance

Bsol Team

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: In pop up dialog window , the textbox is not able to edit
« Reply #1 on: September 03, 2014, 09:27:44 pm »
Please add this in the columnTemplate or specific column.

editor: { style: 'z-index:10000;position:relative;' }

Example:
http://paramquery.com/pro/demos/fluid_popup

bsolteam

  • Pro Deluxe
  • Full Member
  • *
  • Posts: 107
    • View Profile
Re: In pop up dialog window , the textbox is not able to edit
« Reply #2 on: September 04, 2014, 12:29:25 pm »

Thanks for giving the solution...

Thanks and Regards
Bsolteam