Your tempList variable needs to be a list of Data Viewer List component IDs. Is it? I’m guessing it isn’t. But you can get the block you need from the Any Component drawer. It will provide a list of all DVLs in your screen/group etc.
Perhaps you’re following this? Conditional Formatting of a Data Viewer List (aka "Painting the DVL")
Also, I feel like there was a known issue with using DVL wrappers but I’m not finding it at the moment.