sort columns tableview
I've made a tableview with an iterator in an MVC BSP. The thing is that I'd like to have some columns of that table which the user can sort. I tried to do the following in the method IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS:
APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
<def>-COLUMNNAME = 'XUBNAME'.
<def>-TITLE = 'SAP User'.
<def>-SORT = 'X'.
but, I don't see a sort icon in my column header line. What could be the issue behind this. Of course points will be given to those who can push me in the right direction.