horizontal scroll problem with fixedcolumns

horizontal scroll problem with fixedcolumns

PyroPyro Posts: 4Questions: 1Answers: 0

Hi,

when I use the tab key (and shift-tab key) to navigate the table, the horizontal scrolling is not working properly.
With v2, the problem was not present.
How can I get around this?
Thank you for your help!

http://jsfiddle.net/pyrobel/0jk9e10k/5/

Replies

  • allanallan Posts: 63,573Questions: 1Answers: 10,483 Site admin

    Hi,

    If that worked with v2 then it was entirely accidentally. What you would likely need to do here is have a focus event handler for the input elements that will alter the scrolling so that the focused element is visible (by shifting the scrolling using Javascript).

    Allan

  • PyroPyro Posts: 4Questions: 1Answers: 0

    Hi Allan,
    How is it possible to alter the scrolling to do it?
    I searched in the doc but I found nothing...
    Do you have any idea where I could find this information?

    David

  • allanallan Posts: 63,573Questions: 1Answers: 10,483 Site admin

    I'm afraid I don't understand what you mean by "alter the scrolling". Alter it in what way to do what? To automatically shift the scrolling to make the focused field visible? As I noted above, you would need to use some Javascript to do that - there isn't a built in option for this.

    Allan

  • PyroPyro Posts: 4Questions: 1Answers: 0

    Hi Allan,
    it is just what you said in your first answer ;o)
    "... that will alter the scrolling so that the focused element ..."
    I am agree with you, it is the way to do it, but no idea on how to do...
    How to know when the element (or the cell) is in the viewport or hidden, and how to scroll if hidden...

    As said in an another message, the problem is the same with keyTable extension and cell with text inside (no input ).

    If I take credit support, will the support team help me in this situation?

    And sorry for my english, I do my best...

This discussion has been closed.