Use select2 inside gridview (asp.net)

Hi, I added the inserts and the function to load select2 on a dropdown on my aspx page. This dropdown is inside a gridview and select2 isn’t working. Any special advice to use select2 on an element inside a gridview? Thanks