I tested the provided snippet but the column menu has been shown successfully at my end. Can you take a look at the sample from my test below and see whether and how it differs from your actual code?
If comparing against it does not help in resolving the problem, please, update it up to a point where the problem occurs and send it back to me so I can debug the cause for the problem further.