This function is called from different places in such way:
rN = getActiveIndex();
Everything works fine for me except I'm trying to delete the first row. And here is a problem: deleted row is rendered despite the fact that it is absent in a dataModel. If I press F5 in my browser - previously deleted row disappears from a extendedDataTable. If I'm trying to delete another rows (second, third,...last) I haven't any troubles.