for all tables in a document:
app.activeDocument.stories.everyItem().tables.everyItem().cells[0].tex ts[0].appliedParagraphStyle="MyPStylesName"; //assuming te PStyle is not in any group.
for a table (var myTable):
myTable.cells[0].texts[0].appliedParagraphStyle="MyPStylesName";