[richfaces-issues] [JBoss JIRA] Commented: (RF-1107) Scrollable dataTable. Header scrolled badly on TAB button.

Alan Chan (JIRA) jira-events at lists.jboss.org
Tue Jun 2 07:29:56 EDT 2009


    [ https://jira.jboss.org/jira/browse/RF-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12470201#action_12470201 ] 

Alan Chan commented on RF-1107:
-------------------------------

Hi,

Besides the header and body misalign after keyboard TAB, the TAB sequence is also not correct.

E.g. I have a scrollableDataTable with one input field on each cell, and the first 2 columns are frozen. When I TAB from the upperleft-most cell, the cursor goes through all the cells in the frozen column first, and then move to the non-frozen column. What I expect is just like Excel, the focus moves row-by-row.

I'm thinking to use the "tabindex" attribute of h:inputtext to workaround this, but I cannot hard-code the first cell to have tabindex=1 because there are some other input fields on the form prior to this table. And the cells are rendered dynamically according to the number of rows of the data set. How to generate this attribute dynamically enough?


> Scrollable dataTable. Header scrolled badly on TAB button.
> ----------------------------------------------------------
>
>                 Key: RF-1107
>                 URL: https://jira.jboss.org/jira/browse/RF-1107
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-ScrollableDataTable
>    Affects Versions: 3.2.0
>         Environment: FF 2.0.0.6
>            Reporter: Ilya Shaikovsky
>            Assignee: Konstantin Mishin
>             Fix For: Future
>
>         Attachments: case - 1.png, case - 2.png
>
>
> Two use-cases failed:
> "case - 1.png"
> frozenColCount=0
> all the columns with inputs
> last columns aren't in visible part
> When I use TAB key - columns scrolled to be displayed (good) but headers jsut stays (Wrong!)
> "case - 2.png"
> frozenColCount=2
> all the columns with inputs
> last columns aren't in visible part
> I use TAB key. Focused inputs changed one by one only in "frozen zone" (seems good), but after I press TAB on the last input - the focus jumps to non frozen column input and frozen columns - scrolled and shifted down(Wrong!). But headers still aren't scrolled (good in this case).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list