Summary of experience in adding a column of object array to another object array in ivx

All we have to do in this demo is to click the button Click and add the name column and gender column in the original object array to the new object array.
Summary of experience in adding a column of object array to another object array in ivx
1. First add a click event to the button, then the object of the action selects a new array of objects, and the action performed selects adding columns from another array of objects.
Summary of experience in adding a column of object array to another object array in ivx
2. In the column of object array, select the original object array; in the column name column, if you just add a column, you can directly fill in the column name, if it is more than one column, you can use commas to separate the column names or use the array format.
Summary of experience in adding a column of object array to another object array in ivx
3. Finally, we can print the value of the new object array at the initialization of the foreground and after clicking the button to add a column to see the result. The new object array is empty when the foreground is initialized. After clicking the button, the name column and gender column of the original object array have been added to the new object array.
Summary of experience in adding a column of object array to another object array in ivx
Summary of experience in adding a column of object array to another object array in ivx

Guess you like

Origin blog.51cto.com/14556317/2486029