I have an editable column in a datagrid. How do i copy the contents of that column into an array? The dataprovider for the datagrid is an array
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Each index on the dataProvider corresponds to a row in the datagrid, so, each column cell must be a property on the object in that index. All you need to do then is loop through your dataprovider, and in each iteration take the value from the column and push it to a separate array that will contain all the data for that column. If that’s not clear I wouldn’t mind whipping you up an example.