Question

dynamic table grid in responsive form

  • 13 December 2022
  • 3 replies
  • 62 views

Badge +1

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. 


3 replies

Userlevel 5
Badge +13

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

Badge +1

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, 

 

Userlevel 5
Badge +13

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