Languages

Menu
Sites
Language
Highlight top item of genlist

Hello.

I'm creating application with using genlist. I have to add and remote some items. In some cases I take highlighted last element, when genlist appears.

Is any ability to show genlist from the top?

I'v tried use elm_genlist_item_selected_set function, but it calls selection callback function.

#gears2uainside

 

 

 

View Selected Answer

Responses

2 Replies
Mark as answer
Mykola Solyanko

Hello

you try used elm_genlist_item_bring_in(item, ELM_GENLIST_ITEM_SCROLLTO_TOP);

this function doen't selected item, but scrolling to item

Sergey Artuh

Thank you for quick response.