Scroller is twitchy and unsuable when word wrap is enabled in the table.

Scroller is twitchy and unsuable when word wrap is enabled in the table.

Savo1Savo1 Posts: 4Questions: 2Answers: 0

Hello,

For long text entries I don't want to have my table to have some unwieldy width, so I want to have white-space: normal; enabled, but this makes the scroller all twitchy and changes what is displayed (by going up and down) on its own.

Any advice?

Answers

  • allanallan Posts: 63,180Questions: 1Answers: 10,411 Site admin

    Correct - every row in the table must be the same height when using Scroller. If they aren't, then it can't do its virtual row calculations - i.e. it can't possibly know that row 5'000'000 is 35px while row 5'000'001 is 45px without actually drawing them. It has to make the assumption that all rows are the same height.

    If you need different row heights, you can't use Scroller. Just use scrollY on its own.

    Allan

  • Savo1Savo1 Posts: 4Questions: 2Answers: 0

    @allan I am using server side processing, so I need it. Right?

This discussion has been closed.