Update Datagrid without page refresh

manan
manan Member
edited June 14, 2013 in Documentum #1

I am doing a Import operation in modal popup. After import operation the document which which got imported should be visible in datagrid. I tried refreshing the datagrid but no output. But refresh the page then is showing in the datagrid. I want that datagrid should be updated without refreshing the page.

Thanks.

Tagged:

Comments

  • Jahir
    Jahir Member
    edited June 14, 2013 #2

    Try refreshing the grid on CallBackDoneListener or onActionCompleteListener. It is working for me. You don't need to refresh the page.

    e.g., DataGrid ctrl = (DataGrid)component.getControl(controlName);

    ctrl.getDataProvider().refresh();