Skip to main content
Nintex Community Menu Bar
Question

createRow editRowForNewItems not working

  • July 10, 2024
  • 2 replies
  • 22 views

Forum|alt.badge.img+18

I have a javascript snippet with a createRow() like this:

medLogModel.createRow({
editModeForNewItems: true,
additionalConditions: [
{field: ‘Inventory_Item__c’, value: treatment.Inventory_Item__c},
{field: ‘Inventory_Item__r.Name’, value: treatment.Inventory_Item__r.Name}
]
});

The snippet is followed in the action sequence with a popup action. The popup contains a table with the newly created row. But it’s not in edit mode. It looks like this:

What am I doing wrong here?

2 replies

Forum|alt.badge.img+18
  • Author
  • July 10, 2024

Looks like the problem is that the table renders AFTER the row is created. So, I’ll render the table, and then create the row.


Forum|alt.badge.img+7

Matt,

I’m glad you figured it out! Thanks for sharing your solution with the community!

Amy