In case it helps anybody in future i have my code below which worked, i wanted a row id to be in this
pattern ROW_NUMtrID
so theres a arraylist which gives me the row count and the other Test_id is a property from the bean which is used to populate display table
include the dyndecorator in your display:table decorator attribute ... decorator="dyndecorator"