How to fetch filtered out items in a template_list / UIList

Is it possible to programatically fetch the filtered out items in a “template_list”?

Psuedo code of what I want to do:


myList = row.template_list("MESH_UL_vgroups", "", ob, "vertex_groups", ob.vertex_groups, "active_index", rows=rows)
for item in myList.visible_items():
    do_Stuff(item)