Tableview Index search icon

You must Login before you can answer or comment on any questions.

Hey,

is there any way to set a listener to the index of a table view?

I know that i can use {title:'{search}'}, to show a search icon, but it doesn't have any sense without something like a click listener on it... (To show the searchbar for example)

Any Idea?

(Cause you cant style the index"bar", i am thinking about to program my own indexbar. -- ??

1 Answer

Not sure what your goal is but you can listen on the click event for your table view and find the index of the actual row clicked by looking at index property receivent in the callback argument. doc is here. Or you could even attach it at the click event of the actual TableViewRow when you insert it.

Not sure it answers your question because the goal is not clear to me ...

— answered 7 months ago by Thierry Godfroid
answer permalink
1 Comment
  • Hey, i didn't mean the index of a row... You can create an alphabetical list (for example) on the right of a table view with the "index" property of a tableview.

    That's what i meant.

    — commented 7 months ago by Nico Barelmann

Your Answer

Think you can help? Login to answer this question!