select Table first row

Hi,
my table has setNullSelectionAllowed(false). I’d like to set the first row selected when table is displayed, can anyone give me suggestions?
Thank you in advance, Francesco

Did you try with setValue???

tb.setValue(firstItem);

You could do:

table.setValue(table.firstItemId())

John and Xavier,
thank you, it works very well.
Greetings, Francesco