Hide and Unhide rows in Dropdown

Hi,

image

I have dropdown and having 3 rows

I want to hide last row and show only first 2 rows

Is there any dynamic way to do this?

You have to dynamically create a new dataset.

Yes got an idea. creating script in project library. from thier i will call dynamically