Hi,
I have a requirement where I need to dynamically increase the number of rows and columns of a table at a time. If you look in the picture below here the [Name here] column needs to be increased based upon the values from the database and the Month row also needs to be increased dynamically based on the number of months in the database.
Please Help me with this. @Kosta_Prokopiu1, @AEM_USER1
Solved! Go to Solution.
Views
Replies
Total Likes
how are you getting the values from the database? is it in JSON text form? if so please copy and paste just a sample of the data.
also here is a good article on what you are trying to achieve by Stefan Cameron.
Scripting Table Columns - Stefan Cameron on Forms (stefcameron.com)
how are you getting the values from the database? is it in JSON text form? if so please copy and paste just a sample of the data.
also here is a good article on what you are trying to achieve by Stefan Cameron.
Scripting Table Columns - Stefan Cameron on Forms (stefcameron.com)
We are getting the values in XML format like below:
<root>
<StudentInfo>
<StdInfo>
<StdName> AAAA </StdName>
</StdInfo>
<StdInfo>
<StdName> BBBB </StdName>
</StdInfo>
<MonthData>
<rowData>
<BenAmt>$81.84</BenAmt>
<Mode>Hybrid</Mode>
</rowData>
<rowData>
<BenAmt>$87.84</BenAmt>
<Mode>Public</Mode>
</rowData>
<Month>Sep 2021</Month>
</MonthData>
<MonthData>
<rowData>
<BenAmt>$89.84</BenAmt>
<Mode>Child Care</Mode>
</rowData>
<rowData>
<BenAmt>$80.84</BenAmt>
<Mode>Hybrid</Mode>
</rowData>
<Month>Oct 2021</Month>
</MonthData>
<MonthData>
<rowData>
<BenAmt>$89.84</BenAmt>
<Mode>Child Care</Mode>
</rowData>
<rowData>
<BenAmt>$80.84</BenAmt>
<Mode>Hybrid</Mode>
</rowData>
<Month>Nov 2021</Month>
</MonthData>
</StudentInfo>
</root>
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies