Author Topic: Cell Overflow  (Read 2364 times)

omerix

  • Pro Enterprise
  • Full Member
  • *
  • Posts: 148
    • View Profile
Cell Overflow
« on: January 18, 2019, 07:12:19 pm »
Hello Param,

How can I prevent cell overflow seen in the attached file?


Code: [Select]
         var HucreS = function (ui) {
             var $cell = ui.$cell,
                 rowData = ui.rowData,
                 dataIndx = ui.dataIndx,
                 width = parseInt(ui.column.width) - 40,
                 cls = ui.cls;
             var dc = $.trim(rowData[dataIndx]);
var rowIndex=ui.rowIndex;
             $cell.append("<input type='text'  name='" + dataIndx + "' id='" + dataIndx + "' value='" + dc + "' class='" + cls + " fl ls'  style='z-index: 40000;width:" + width + "px;'/>"
                 +"<span class='ui-widget-header fl ek' onclick=\"window.parent.Popuir('../ModGenel/Liste.asp?js=6&l=s&e=FrameOrder',760,540,'Liste');\"><i class='ui-icon ui-icon-search ck'></i></span>"
                 +"<span class='ui-widget-header fl ek' onclick=\"window.parent.Popuir('../ModStok/Kart.asp?menu=h&KOD="+dc+"',960,540,'Kart');\"><i class='ui-icon ui-icon-plus ck'></i></span>"
             );
//$cell.find("input").focus()
         };

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6298
    • View Profile
Re: Cell Overflow
« Reply #1 on: January 21, 2019, 12:59:37 pm »
Could you please share a jsfiddle and also mention the version of grid.