I want to show status without refreshing page

41 Views Asked by At
                {
                    text: 'SFTP Upload Status',
                    width: 115,
                    align: 'center',
                    xtype: 'actioncolumn',
                    sortable: false,
                    items: [
                        {
                            getClass: function (v, meta, record) {
                                var cls = '';

                                if (record.get('sftpStatus') === 'Success') {
                                    cls = 'x-fa fa-check text-green';
                                } else if (record.get('sftpStatus') === 'Processing') {
                                    cls = 'x-fa fa-spinner fa-spin'
                                } else  if (record.get('sftpStatus') === 'Failed') {
                                    cls = 'x-fa fa-close text-red';
                                }

                                return cls;
                            }
                        }
                    ]
                }

I want to show the status without refreshing page , currently I'm refreshing page to show this status

0

There are 0 best solutions below