cancel
Showing results for 
Search instead for 
Did you mean: 

Accesibility in TableView (Tool Tip, etc)

Former Member
0 Kudos

Hi all,

I implemented a TableView in my BSP application and I need to apply the following requirements

1.- I need to put a text in the header of the column for row selection column.

2.- I need to assign a Tool tip (with the value of the first column) in the line selector column of each item displayed in the TableView.

I have looked the examples in BSP sbspext_table TableView with accesibility flag but I do not know how.

Alguien me puede ayudar?

Thank you very much !!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

you probably are passing the records in an internal table to the TableView tag like this:

<htmlb:tableView id   = "staff"
                  table             = "<%= your table%>" />

The tag is responsible for building the columns and its characteristics according to the data dictionary that is behind the internal table´s structure.The first option is that you modify the information in the structure, which might not be possible in case of standard objects.

The second option is that you use tag htmlb:tableViewColumn for influencing the display of the information in the TableView:

<htmlb:tableViewColumn columnName          = "<%= aux_dfies-FIELDNAME %>"
                               horizontalAlignment = "center"
                               edit                = "FALSE"
                               width               = "30px" />

Additional to the above attributes, you can also use tooltipHeader, Title, Sort, etc. for your needs.

Former Member
0 Kudos

Hi Jorge,

The problem is that I want to associate the Tool Tip on all buttons of the first column of Tableview (where the user selects the records).

This column is standard (is built by the tableView).

In the BSP application SBSPEXT_TABLE (http://xxxxxx:yyyy/sap/bc/bsp/sap/sbspext_table/default.htm), if you select the flag "With Accesibility" and selectionmode "SingleLineEdit" you can see what I would like to do in the second TableView displayed on the screen (If you pass the mouse pointer over the selector rows button of the first column).

Furthermore, the column has the title "N". how I can change the text in this column?

I'm looking at the example but I do not see how to modify mi tableview.

My code is:

<htmlb:tableView id = "tv_tel"

table = "<%= gt_tel %>"

visibleRowCount = "5"

selectionMode = "SINGLESELECT"

selectedRowIndex = "<%= w_index_tel %>"

footerVisible = "FALSE"

design = "TRANSPARENT"

columnWrapping = "FALSE"

onRowSelection = "rowSelection" >

<htmlb:tableViewColumn columnName = "COUNTRY"

tooltipHeader = "Pais"

title = "Pais" />

<htmlb:tableViewColumn columnName = "TELEPHONE"

tooltipHeader = "Teléfono"

title = "Teléfono" />

<htmlb:tableViewColumn columnName = "EXTENSION"

tooltipHeader = "Extensión"

title = "Extensión" />

</htmlb:tableView>

Thanks in advance,

Dani