Skip to Content

2 tableView's keepSelectedRow

Hey Guys

I've got a special problem with two tableViews on the same page:

If I select a row of the first tableView, the second tableView is getting processed on the screen and the selected row of the first tableView apears marked. Evereything ok by now!

If I now select a row in the second tableView, the marked row of the first tableView apears unmarked again.

Any ideas, how to keep the row of the first tableView marked?

thanks a lot

danny

my coding:

<%-- Projektliste --%>

<htmlb:form>

<htmlb:tableView id = "tv_proj"

headerText = "Projekte"

headerVisible = "true"

design = "standard"

visibleRowCount = "8"

fillUpEmptyRows = "true"

footerVisible = "false"

selectionMode = "singleselect"

onRowSelection = "Projekte"

keepSelectedRow = "true"

table = "<%= application->rpm_project_list %>" >

<htmlb:tableViewColumns>

<htmlb:tableViewColumn columnName = "EXTERNAL_ID"

wrapping = "true"

width = "100"

title = "Projekt ID" >

</htmlb:tableViewColumn>

<htmlb:tableViewColumn columnName = "PROJ_DESCRIPTION"

wrapping = "true"

width = "100"

title = "Projektbeschreibung" >

</htmlb:tableViewColumn>

</htmlb:tableViewColumns>

</htmlb:tableView>

</htmlb:form>

</td>

<%

if not application->rpm_proj_bewertung[] is initial.

%>

<td valign="top">

<%-- Bewertungsliste --%>

<htmlb:form>

<htmlb:tableView id = "tv_bewert"

headerText = "Bewertung"

headerVisible = "true"

design = "standard"

visibleRowCount = "8"

fillUpEmptyRows = "true"

footerVisible = "false"

selectionMode = "singleselect"

onRowSelection = "Bewertung"

keepSelectedRow = "true"

table = "<%= application->rpm_proj_bewertung %>" >

<htmlb:tableViewColumns>

<htmlb:tableViewColumn columnName = "ZRPM_SFDAT"

wrapping = "true"

width = "100"

title = "Datum" >

</htmlb:tableViewColumn>

</htmlb:tableViewColumns>

</htmlb:tableView>

</htmlb:form>

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.