h2 tag in sEmptyTable breaks scroller

h2 tag in sEmptyTable breaks scroller

sjurmrsjurmr Posts: 3Questions: 2Answers: 0

I have a table with a large client side data source. I couldn't get the scroller plug in to work properly, and eventually found my sEmpyTable string that contained an h2 tag to be the problem. I am guessing this is a bug related to the fact that all rows need to have the same height to be able to calculate scrolling properly. I can work around this by not having the h2 tag, but maybe this is affecting others as well.

Description: As soon as you start scrolling, content will flicker and/or dissappear.
Demo: https://jsfiddle.net/fc7hmu46/1/

This question has an accepted answers - jump to answer

Answers

  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi sjurmr,

    Your example seems to be working fine for me when scrolling. Did you have to do anything else to replicate the issue?

    Cheers,
    Sandy

  • colincolin Posts: 15,237Questions: 1Answers: 2,598
    Answer ✓

    Yep, I can see the problem. The problem, as you say, is the placement of that tag in the empty table string. I'm surprised it has that effect, but we would expect that to be pure text without any HTML.

    Colin

This discussion has been closed.