so for a simple version, make an array of type button and manually add your buttons too it, in the button widget have a function for update item data and you can get a button from the array with the index in your loop.
so for a simple version, make an array of type button and manually add your buttons too it, in the button widget have a function for update item data and you can get a button from the array with the index in your loop.