Skip to content
Discussion options

You must be logged in to vote

Try this :

import flet as ft

def getIdFromListTile(e):
    idValue = e.control.data
    print(f"Here is the id from the listTile {idValue}")


def test(page=ft.Page):
    userNameAndId = [["1", "firstname", "middleName", "lastName"],
                                     ["2", "firstname", "middleName", "lastName"],
                                     ["3", "firstname", "middleName", "lastName"],
                                     ["4", "firstname", "middleName", "lastName"],
                                     ["5", "firstname", "middleName", "lastName"],
                                     ["6", "firstname", "middleName", "lastName"],
                                     ["7", "fir…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
5 replies
@Haadi-A
Comment options

@ndonkoHenri
Comment options

@ndonkoHenri
Comment options

@Haadi-A
Comment options

@Haadi-A
Comment options

Comment options

You must be logged in to vote
4 replies
@ndonkoHenri
Comment options

@Haadi-A
Comment options

@Haadi-A
Comment options

@ndonkoHenri
Comment options

Answer selected by Haadi-A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants