cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table Sort Complete Event

Former Member
0 Likes
552

I have a process that interrogates the visible entries in a table and carries out certain alerts and functions.  The SORT event of the table triggers when the SORT is clicked and not after the Sort is complete.  I need to a way to determine when the sort is complete so I can interrogate the visible entries in the table.  I can't seem to find an event SORT COMPLETE on the table.

Does anyone have any ideas?

View Entire Topic
Former Member
0 Likes

I'm using the (undocumented) event "_rowsUpdated" on the table.

-- Micha

Former Member
0 Likes

How does one find these undocumented events?  I looked through the table js file and didn't see that.

Former Member
0 Likes

It is there, better visible in the debug-variant (using ?sap-ui-debug=true in the URL):

$ fgrep _rowsUpdated *

Table-dbg.js:                this.fireEvent("_rowsUpdated");

NB this is sap.ui.table.Table, not sap.m.Table.

-- Micha

Former Member
0 Likes

Perfect but I don't like the comment SAP has about this event ...

//Helper event for testing

Hopefully they won't get rid of it as there should be a rowsUpdated event.