Hi,
you can refer this document to understand basics Understanding sap.ui.table.Table in 10 minutes
also in my blog Displaying backend data both as SAPUI5 Table and an Excel File you will find the example of binding data from OData service to table.
Regards,
Chandra