Skip to main content
Nintex Community Menu Bar
Question

createRow editRowForNewItems not working

  • Jul 10, 2024 4:06 PM UTC
  • 2 replies
  • 31 views
  • Translate All

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
  • Jul 10, 2024 4:22 PM UTC

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.

Translate

Forum|alt.badge.img+7

Matt,

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

Amy

Translate