KnowledgeKube now includes a function that allows you to run an action on every row of a data source grid.
This function uses the following syntax:
ForEachDataSourceGridRow( GridName, ActionName );
For example, you could use the function to calculate the cost of a customer's basket by multiplying the unit cost of each item in the basket by the corresponding unit price, and adding each row's value to a basket total.
If you want to read more about this function, including a worked example, refer to the Data Source Functions mini-guide found here.
Happy building!