Scroller Position issue in ie8

Scroller Position issue in ie8

seshukumarseshukumar Posts: 4Questions: 0Answers: 0
edited September 2012 in DataTables 1.9
Hello,

I am using DataTables v1.9.3 and Scroller v1.0.2. When using server-side processing for huge data nearly 25k records and using customized row height in IE8 the scroller position doesnt reflects the current row no. for example if i scrolled the scroller up to 16k records it is fine and after wards the scroll position set to bottom. I am using rowheight 73px; if i use the default row hieght there is no issue it occurs only if customized the row height.

Replies

  • allanallan Posts: 63,397Questions: 1Answers: 10,451 Site admin
    > I am using rowheight 73px; if i use the default row hieght there is no issue it occurs only if customized the row height.

    That suggests that the rows are not 73px in that case. What CSS is being applied? Can you link to your page please?

    Allan
  • seshukumarseshukumar Posts: 4Questions: 0Answers: 0
    Thanks for quick reply

    "sScrollY": "380px",
    "bFilter": false,
    'bServerSide': true,
    'bDeferRender': true,
    "aaSorting": [[1,'asc']],
    "sAjaxSource": src,
    "sDom": "frtiS",
    "oScroller": {"displayBuffer": 7,
    "rowHeight":73},
    "fnInfoCallback": function ( aoData ) {
    $('#table tr').css('height', '73'); //Setting the table row height here
    }
  • allanallan Posts: 63,397Questions: 1Answers: 10,451 Site admin
    > $('#table tr')

    The selector is too strong, you also need to update the cloned table. Try:

    [code]
    $('.dataTable tr')
    [/code]

    Allan
  • seshukumarseshukumar Posts: 4Questions: 0Answers: 0
    edited September 2012
    Thanks for your reply,

    Can you tell me about the cloned table.

    Thanks,
    Seshu
  • allanallan Posts: 63,397Questions: 1Answers: 10,451 Site admin
    Have a look at the DOM of the table with Inspector or Firebug. You'll see it is split into 2 or 3 components.

    Allan
This discussion has been closed.