I am trying to build an app on the side to be used for packing orders.
I have a repeating panel that includes the list of items in the order for a user to pack. Right now I have a button that you can click and will change the row colour to indicate that it has been picked.
def button_pick_click(self, **event_args):
self.flow_panel_1.background = 'theme:Primary 700'
self.button_unpick.visible = 1
self.button_pick.visible = 0
This works fine and here is the design view to get a basic idea.
the screenshot above is a nested repeating row as some items are assemblies so it shows the components, but functionally its the same as the top repeating row.
But now I am looking to extend this to use a barcode scanner. So I want to create a text field that on change will search through the rows in the repeating and if it finds a matching barcode, it will change only that row colour.
I know I can set the properties of a repeating panel using self.repeating_panel.background = 'theme:Primary 700'
but this changes all the rwos… so how would I go about changing only the single row if it finds a match?
Any help, or pointers will be greatly apprecaited!
I cant share the app as it is pulling data from our warehouse management software via API.