Albertz

Forum Replies Created

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • in reply to: fixing width calculation of the grid in Google Chrome 19 #100383
    Albertz
    Participant

    Hello,

    I am using jqGrid 4.4.1 and have this problem, not only on any specific browser, all four of them (although in different ways.)

    Is this really related to the rendering engine?

    As I see it, the code contains the line:

    if(rowInd===0) {
    result += "width: "+grid.headers[pos].width+"px;";

    I am guessing, but does this code take the width from the definition? This code writes the width to the header cell and later on the total of the columns' width is written to the various layers.

    Then in the ui.jqgrid.css there are definitions for “.ui-jqgrid .ui-jqgrid-htable TH” and “.ui-jqgrid TR.jqgrow TD” which add 2px to the left and the right of the cells and then there is 1px for the collapsed border of the table. I found this because I have one table with 13 columns and one table with three columns, the rendered difference (of the cells) is 50

Viewing 1 replies (of 1 total)

Stay connected with us in your favorite flavor!