Hi Oleg,
Actually, I believe that my problem is not quite the same as ones described by you. I debugged jqgrid code and was able to see that the reason is quite simple – triggering 'onClick' event on a wrong row (subgrid row instead of next “parent” row).
The code which fires that event does not check if this is right row – that code is out of condition