cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pranav Saxena <psb...@gmail.com>
Subject Re: Updating list view after data addition.
Date Thu, 25 Jul 2013 11:31:16 GMT
Hey Ian  ,

So you got to code this up for fetching the latest state for the listvView.
What you have done is also right but I would suggest you try something like
this in your "success block" -

$(window).trigger('cloudStack.fullRefresh');

 Let me know if this solves your problem.

Thanks,
Pranav


On Thu, Jul 25, 2013 at 3:49 PM, Ian Duffy <ian@ianduffy.ie> wrote:

> Hi,
>
> I've modified the "add account" screen to use a custom ui. The custom
> UI displays a table of all LDAP users along with the required and
> optional input fields.
>
> When I add the user the user doesn't appear on the table of users
> until the page is refreshed.
>
> What is the correct way of handling this table update?
>
> is it ok to do:
>
> success: function(args) {
>     $('.list-view').listView('refresh');
>     close();
>  }
>
> Thanks,
> Ian
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message