Appending a digit scroller in grasshopper component menu

Hello,

I am trying to append a digit scroller in the grasshopper component menu using Menu_AppendDigitScrollerItem(…) function, but the digit scroller doesn’t show up. Here is the code. Are there anything that I’ve done wrong? Thank you.

Best,
Tommy

Replying here because I’m having the same issue. Also, it was posted (unanswered) in this discussion as well: Menu_AppendDigitScrollerItem not showing

I hope someone out there has an answer (or a useful pointer at least).

Best,
Alessio