I'd like to have a table restrict to one row.HOw to do that ?

Raya…what is your use case here?  Can you just set your model to return only 1 row?

Raya~

If you only want one record, perhaps a field editor may be a better choice than a table. Like Bill said, how are you intending to use this page? 

Karen