Hi FlexCoders, I am dynamically creating a datagrid with 5 columns and 10 rows. Columns 2, 3, 4 and 5 are all rendered as textinput control where user can enter some information.
How do I loop through all the datagrid rows and store the values entered in the datagrid into an array collection? Been trying to find some nice examples to achieve this but came up empty handed. Would appreciate your inputs. By the way, I'd also like to ensure that no rows would be skipped by the user when filling up the datagrid (i.e. He could only populate row 1 before he can populate row 2 and so forth). That way, when the array collection stores the values of the datagrid, there is no blank or null value. The remaining blank rows would simply be ignored in the loop. Thanks. Regards, Angelo