How to numerate datarows in a portal

Discussion created by disabled_Luna.media on May 15, 2013
Latest reply on May 15, 2013 by disabled_Luna.media

Hi there,


does anybody know how I can numerate the datarows in a portal? I have a "invoice" with a portal of "product items". Now I want to numerate the datarows in the portal of an invoice with a position number. Maybe there has to be a script fired when a new datarow is entered in the portal? But how can this be achieved? And maybe somebody has an idea how to re-numerate the rows if one of it is deleted?