Calculate page and row index of an dynamically added row while serveside processing
Calculate page and row index of an dynamically added row while serveside processing

When a row is added into a table, it shall be added and highlighted on the apppropriate page and row (page / row index) according to the current table ordering.
While the client side processing works as expected: https://jsfiddle.net/fegeb01b/23/
the same code does not work with the serverside processing.
How can be the serverside processing be implemented ?
This discussion has been closed.
Answers
A possible solution for the Problem described above.
The page calculation must be implemented on the server side, like this (c#, asp.net):
The Client side that adds a new row in to the table and calls the DisplayAddedRecord() function:
The DisplayAddedRecord() function gets the calculated page from the server and redraws the (appropriate / calculated) page:
And finaly the selection / highlighting of the added row in the "rowCallback" function: