Skip to main content
Nintex Community Menu Bar
Question

dynamic table grid in responsive form

  • December 13, 2022
  • 3 replies
  • 445 views

Forum|alt.badge.img+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. 

Translate

Garrett
Forum|alt.badge.img+16
  • Scout
  • December 13, 2022

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.

https://community.nintex.com/automation-cloud-2/nwc-storing-html-table-in-a-variable-changes-the-formatting-of-the-table-v2-15910

 

Hope that helps

Translate

Forum|alt.badge.img+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, 

 

Translate

Garrett
Forum|alt.badge.img+16
  • Scout
  • December 17, 2022

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

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings