click to download
Please see the example below:
The data table structure is as follows:
Generated attribute members and add, updated code: