Adem,
In Agentry the the primary key should be unique. you have to make sure while setting the property value in Java for Key property is unique. for that you can concatenate any number of column.
May i know what do you want to display for first input?
i think you can still use same index for the first input. while displaying the selected row you can write a rule to filter out that record from complex table.
Hope this makes you clear
Thanks
Ajitesh