Hanging Softbody on another object

I am trying to hang a softbody much like we hang a curtain beside the window. I try to use parent but the softbody just fall to the ground. Is there anyone who know how to “hang” a softbody?

I know this seems odd and counter-intuitive, but add a Rigid-Body Joint constraint, and change the “toObject” to the object you want it to stick to.