What I did to solve this was to put the row number and textfield into a separate list and use that list to control the customlistview. On each row of the customlistview I had the row number in the Value field. A normal list was More powerful to do these type functions, i am not saying it is the correct way to do it , just my 5c worth