Skip to content

Error: No binding found in the table. #723

Closed Answered by Tristan-bash
Tristan-bash asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to debug it and get it working :) .
The problem was that the tableId I provided was of a mdc-table (sap.ui.mdc.Table).
And for that case the binding was undefined since your checking only on


      if (tableObject.getMetadata().getName() === "sap.m.Table" || tableObject.getMetadata().getName() === "sap.m.List") {
        return tableObject.getBinding("items");
      }
      if (tableObject.getMetadata().getName() === "sap.ui.table.Table") {
        return tableObject.getBinding("rows");

I provided now the ui.table and it works :)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Tristan-bash
Comment options

Comment options

You must be logged in to vote
1 reply
@marianfoo
Comment options

Answer selected by Tristan-bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants