It's very similar to what is used with Jeep soft tops. Usually an extruded aluminum c-channel is mounted to the body while a mating extruded plastic strip is sewn to the fabric. I cannot find exact pictures off-hand, but something like in this link below:
https://www.trimlok.com/plastic-extrusi ... lip-i11023
-Domo
Sent from my SM-N920V using Tapatalk