What's wrong with the table?
Keep a roll of Velcro with you.
One large strip on the back on the iPad and one on the window sill (make sure it does not interfere with the opening mechanism.)
Rip it off the sill when finished and throw it away - Repeat for next flight.