title: k2 loop through all the rows in List View and pass data to another view
body: <p>we have requirement to loop through the rows in List View, and then based on some condition we need to  pass the data to another view</p>
  
  <pre><code>if(impact=yes)
  {
  
  //increment a variable 
  }
  </code></pre>
  
  <p>pass the variable to another view and set as the control value</p>
  
  <p>any help would be appreciated</p>