I think I was under the impression that I could use textframe.overflows to determine if a table had overset text.
I can‘t help with UXP, but with JS, the cell itself can have an overflow, or it can contain a textframe with an overflow. Here‘s a JS example:
var c = app.documents[0].stories.everyItem().tables.everyItem().cells.everyItem().getElements()
var s = "Overflows:\r"
for (var i = 0; i < c.length; i++){
//true if the cell itself has a text overflow
if (c[i].overflows) {
s+="Cell " + c[i].index + " has overflow text\r"
}
//true if the cell contains a text frame
if (c[i].textFrames.length) {
//true if the text frame has an overflow
if (c[i].textFrames[0].overflows) {
s+="Cell " + c[i].index + " contains a text frame with overflow text\r"
}
}
};
alert(s)
Here the first cell has an overflow, and the 2nd cell has a text frame with an overflow.
I have to check if there are text frames in the cells:

Gotcha, okay so it seems that there is no way to check if any cell on a table has overflow without checking each cell's overflow property. Otherwise, you are checking the overflow of the text frame, which is not quite the same scenario. Alright, that makes sense. Thank you for clarifying.