on 04-07-2006 10:00 AM
Hi,
I use the Business HTML library function, SAP_TemplateTableBegin as follows :
`SAP_TemplateTableBegin(id="Test", title="Test")` `SAP_TemplateTableRowBegin()`
`SAP_TemplateTableCellBegin(subtype="TEXT")` Column 1 `SAP_TemplateTableCellEnd()`
`SAP_TemplateTableCellBegin(subtype="TEXT")` Column 2 `SAP_TemplateTableCellEnd()`
`SAP_TemplateTableRowEnd()`
`SAP_TemplateTableRowBegin()`
`SAP_TemplateTableCellBegin(subtype="INPUT")` `SAP_InputField("f1a")`
`SAP_TemplateTableCellEnd()`
`SAP_TemplateTableCellBegin(subtype="INPUT")` `SAP_InputField("f2a")`
`SAP_TemplateTableCellEnd()`
`SAP_TemplateTableRowEnd()`
`SAP_TemplateTableRowBegin()`
`SAP_TemplateTableCellBegin(subtype="INPUT")` `SAP_InputField("f1b")`
`SAP_TemplateTableCellEnd()`
`SAP_TemplateTableCellBegin(subtype="INPUT")` `SAP_InputField("f2b")`
`SAP_TemplateTableCellEnd()`
`SAP_TemplateTableRowEnd()`
`SAP_TemplateTableEnd()`
I noticed that one has to enter the tab key twice in order to move from one input cell to another within each row ? Is it a norm or a possible bug ? Is there a solution such that only 1 tab is required to move from one cell to another within a row ? Thanks.
Regards
Kir Chern
Dear Kir Chern Loh,
as far as I can see the problem exists due to tabindex is set within the table to the cells (<td>) and to the input fields. For two tabindex you have to hit tab twice to leave the cell.
Try the following: add parameter 'skipTabindex="1"' to the SAP_TemplateTableCellBegin call. This should suppress rendering the tabindex to the cell.
Furthermore you could write your application as easy web transaction (EWT); Therewith you can use SAP_TableControl which renders a complete tablecontrol with input fields and labels with one single function call.
Regards,
Simon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.