my internal table has 10 records which are displayed in a Tableview. The user has the option to sort the information (asc/desc) according to the column which he wishes. Then he has to select a line to display the data of this record. It works perfect if there´s no sort but if the user sorts the table, the internal table is not sorted.
If the user selects record 3 on the Tableview, that record could be Nr. 9 in my internal table. How can I sort at the same time my internal table ??
<htmlb:tableView id = "result_mat"
selectionMode = "SINGLESELECT"
headerText = "<%= otr(SOTR_VOCABULARY_BASIC/RESULT) %><%= otr(SOTR_VOCABULARY_BASIC/LIST) %>"
headerVisible = "true"
emptyTableText = "<%= otr(/SIE/AD_ZDXD0001/SUCHEF4) %>"
sort = "SERVER"
visibleRowCount = "12"
columnDefinitions = "<%=columns%>"
onRowSelection = "EventRowSelection"
table = "<%= tab_material %>" />