Skip to main content

Hi forum, 

How to generate table grid dynamically and display in the responsive form with respect to the query response which contains JSON data (array of object) ? 

 

thanks in advance. 

Hi @radhakrishnanma 

 

Basic Idea 1 - Use the LABEL control. Put the Table HTML code into the LABEL control.

 

Basic Idea 2

You will need to loop thru the JSON data.
Use outer Loop “i”  to process each row of data.
Use inner Loop “j” to process each column of data.
Generate the HTML Code for each row <TR>
Generate the HTML Code for each column <TD>

 

After you have generated the HTML Table and saved the value into a variable.
Use the LABEL control to display the variable.

 

You can also refer to this article to get a better idea on implementation.

 

Hope that helps


Hi Garret ,

Thanks for the response. You have mentioned to do the same in a mail. we are looking for to do it in nintex task forms in NWC. Any advice?

 

Thanks again, 

 


Hi @radhakrishnanma 

Once you have cheated the HTML variable, just insert the variable in a LABEL control. 
This should display the HTML Table in the form (including the Task Assign form) 

Hope that helps


Reply