Skip to main content
Nintex Community Menu Bar

Refresh a list view control?

  • May 3, 2016
  • 5 replies
  • 49 views

Forum|alt.badge.img+8

I have a list view control on my Nintex form.   I also have a button that displays the "children of the form"  happy.png.    The button adds a child to the parent.

I need to be able to refresh the list view after the child is added.   I found this.

https://community.nintex.com/thread/8539?q=Refesh%20a%20list

but it relies on a hard coded id so is not going to work across different sites.

I found this

Henry Chong - Nintex Forms - Refreshing the List View Web Part Programmatically / Modal Dialogs

But the call to

var ListViewWPClientID = NWF$('div.ListViewWebPart a[FilterString]:first').attr('FilterString');

returns an undefined in ListViewWPClientID.  And yes I have my css class set in the list view control.

5 replies

Forum|alt.badge.img+8
  • Author
  • May 15, 2017

Is anyone doing this?


Forum|alt.badge.img+14
  • Scholar
  • May 26, 2017

for the 1st link:

you can simply call __doPostBack() without any argument, it should work as well.

note, however, it rerenders whole page, so user experience might be a bit cumbersome.

the second link refers to list view web part (not control). I'm not aware we would be able to insert web parts into nintex forms.

it's probably meant to insert nintex's list view web part into another form product.


Forum|alt.badge.img+14
  • Scholar
  • September 14, 2017

Hi ‌, have you resolved this in any way?


Forum|alt.badge.img+8
  • Author
  • February 1, 2019

I have not yet come up with a solution for  this aside from refreshing the whole page.   Has anyone else figured this out?


Forum|alt.badge.img+10
  • August 7, 2019

If the child is holding the id of the parent , you directly filter the listview control on the parent form.

User the CAMl query option

<Eq>
<FieldRef Name='ParentIdFldInChildList' />
<Value Type='Text'>ID</Value>
</Eq>