Datatable - All instances

Is there a way to get all instances of a datatable on a page? Rather than having to call them individual by Id?

It is the main approach, but if the datatables are in the same layout, you can get them through the$$("parentLayout").getChildViews().