add a new event emit while the subtotal rendered row is done, fix scope issue between th and subblock