Skip to main content
Nintex Community Menu Bar

Is there some javascript code that I can use to select all rows in a table? 

There may be multiple ways of doing this, depending on what you want to do with them. Can you describe your goal?


Some areas I’m thinking about are to:


  1. Loop through the rows of the model in your javascript.

  2. Define an output set from a query in the action framework.

  3. Define a mass action on the table. Use the checkbox at the top left to select all rows.



Hi Mike,

Thanks for your reply,

We have two tabs and on selection of ‘Tab 1’ field’s value, we are querying model and trying to select all rows of the table through snippet code.

Issue is that, that table is only rendering when model has data and before rendering table, we are not able to select table checkbox from ‘Tab 1’ snippet code.

We have tried below code, but it is only working after table rendered,

              for (i = 0; i < document.querySelectorAll(“.nx-skootable-rowselect”).length; i++) {

                                           document.querySelectorAll(“.nx-skootable-rowselect”)i].checked=true;

              }

 Please help me on this issue,


Hi Skuid Team,


Please help me on this requirement.


Regards,

Akanksha


Reply