Skip to main content


 

Symptoms

 


I would like to be able to number rows on a List View depending on the filters that are chosen. No matter which filter is chosen, it will start with 1 and increment. This way users, can choose a row no matter which filter is selected.
 

 

Diagnoses

 


The solution below can only be used with Editable List Views that have a RowID column attached to the smartobject.
 

 

Resolution

You will need to add a RowNumber property to your smartobject for this to work.

 

 

 

1. Create a Parameter called Current Row. This needs to be a Number data type.

 

2. Create and increment expression. This is so we can increment our ID value for each item in the list view.

 

3. Next we need to add a rule: "When the View executed List Refresh. - Add a Transfer Data rule at the top.

 

 

 

This will reset the rows, so that we aren't incrementing with values and getting really high numbers the more we refresh. - Add a condition (For Each rows on a list view) which will turn out to be "For All Rows" --- Under this condition we have "Edit the selected row on the editable list" --- Transfer data "We need to drag the expression over to the Current Row Parameter, and then drag the Current Row parameter into the Display row. --- Apply the changes to the editable list

 

 

 

 



 
Be the first to reply!

Reply