ANSWER:
Praying while standing when able is one of the pillars without which prayer is invalid.
However if you’re not able to stand and pray, then you can sit on a chair and pray because Allah does not burden a soul beyond his or her capacity.
You should not keep any table in front of you. You can simply bend a little for ruk’u while sitting in the chair and bend a little further for sujood while keeping your hands on your knees or your thighs.