Magento2 Admin UI Component: On fileUploader ajax completion in ui component, how can I reload the page it is on? The Next CEO of Stack OverflowHow to Reload Ui Component Grid Table with Js In Magento 2Magento2 - Custom Admin Module - UI Form Component showing blank pageMagento2, admin-panel Ui Component, xml is missing the targetHow to send ADMIN AJAX request?Reload Customer Admin Tab Via AjaxMagento 2 UI grid non db dataprovider and pagination issueAdding images via CSV with non standard file extensionsProduct Category Thumbnail Image Not WorkingMagento2 - Created admin form using UI-componentMagento2 - Reload JS file after ajax callHow can display uploaded DOC file in admin grid using ui component in magento2?

What does "shotgun unity" refer to here in this sentence?

Help understanding this unsettling image of Titan, Epimetheus, and Saturn's rings?

Why am I getting "Static method cannot be referenced from a non static context: String String.valueOf(Object)"?

Is there a reasonable and studied concept of reduction between regular languages?

If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?

Is French Guiana a (hard) EU border?

Why is information "lost" when it got into a black hole?

Which Pokemon have a special animation when running with them out of their pokeball?

Does Germany produce more waste than the US?

Is a distribution that is normal, but highly skewed, considered Gaussian?

Towers in the ocean; How deep can they be built?

Does higher Oxidation/ reduction potential translate to higher energy storage in battery?

Help/tips for a first time writer?

"Eavesdropping" vs "Listen in on"

How do I fit a non linear curve?

How to Implement Deterministic Encryption Safely in .NET

Is it ok to trim down a tube patch?

Cannot shrink btrfs filesystem although there is still data and metadata space left : ERROR: unable to resize '/home': No space left on device

What CSS properties can the br tag have?

What are the unusually-enlarged wing sections on this P-38 Lightning?

In the "Harry Potter and the Order of the Phoenix" video game, what potion is used to sabotage Umbridge's speakers?

How to use ReplaceAll on an expression that contains a rule

IC has pull-down resistors on SMBus lines?

Yu-Gi-Oh cards in Python 3



Magento2 Admin UI Component: On fileUploader ajax completion in ui component, how can I reload the page it is on?



The Next CEO of Stack OverflowHow to Reload Ui Component Grid Table with Js In Magento 2Magento2 - Custom Admin Module - UI Form Component showing blank pageMagento2, admin-panel Ui Component, xml is missing the targetHow to send ADMIN AJAX request?Reload Customer Admin Tab Via AjaxMagento 2 UI grid non db dataprovider and pagination issueAdding images via CSV with non standard file extensionsProduct Category Thumbnail Image Not WorkingMagento2 - Created admin form using UI-componentMagento2 - Reload JS file after ajax callHow can display uploaded DOC file in admin grid using ui component in magento2?










0















I have a grid that just shows a collection of a specific table.



below is a file upload component that I want to use for CSV upload, that will replace all old collection. Image reference is below:



enter image description here



When the file is uploaded, ajax completes, I need to reload the grid page so that new data is loaded and



$this->messageManager->addSuccess(__('Batch upload Success');


is displayed.



Please tell how can I do that.










share|improve this question




























    0















    I have a grid that just shows a collection of a specific table.



    below is a file upload component that I want to use for CSV upload, that will replace all old collection. Image reference is below:



    enter image description here



    When the file is uploaded, ajax completes, I need to reload the grid page so that new data is loaded and



    $this->messageManager->addSuccess(__('Batch upload Success');


    is displayed.



    Please tell how can I do that.










    share|improve this question


























      0












      0








      0








      I have a grid that just shows a collection of a specific table.



      below is a file upload component that I want to use for CSV upload, that will replace all old collection. Image reference is below:



      enter image description here



      When the file is uploaded, ajax completes, I need to reload the grid page so that new data is loaded and



      $this->messageManager->addSuccess(__('Batch upload Success');


      is displayed.



      Please tell how can I do that.










      share|improve this question
















      I have a grid that just shows a collection of a specific table.



      below is a file upload component that I want to use for CSV upload, that will replace all old collection. Image reference is below:



      enter image description here



      When the file is uploaded, ajax completes, I need to reload the grid page so that new data is loaded and



      $this->messageManager->addSuccess(__('Batch upload Success');


      is displayed.



      Please tell how can I do that.







      magento2 uicomponent magento2.3.0 file-upload admin-controller






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited yesterday









      Chirag Patel

      2,378423




      2,378423










      asked 2 days ago









      M Shoaib QureshiM Shoaib Qureshi

      289




      289




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Try with below way.



          Add below code in your ajax success function.



          success: function (data) 
          transactionGridJsObject.resetFilter()



          If you still not getting the solution then try with below way.



          • How to load Ui component grid table

          • Reload page if ajax is success

          • Successs message after ajax response

          I hope it helps!






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f267977%2fmagento2-admin-ui-component-on-fileuploader-ajax-completion-in-ui-component-ho%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Try with below way.



            Add below code in your ajax success function.



            success: function (data) 
            transactionGridJsObject.resetFilter()



            If you still not getting the solution then try with below way.



            • How to load Ui component grid table

            • Reload page if ajax is success

            • Successs message after ajax response

            I hope it helps!






            share|improve this answer



























              0














              Try with below way.



              Add below code in your ajax success function.



              success: function (data) 
              transactionGridJsObject.resetFilter()



              If you still not getting the solution then try with below way.



              • How to load Ui component grid table

              • Reload page if ajax is success

              • Successs message after ajax response

              I hope it helps!






              share|improve this answer

























                0












                0








                0







                Try with below way.



                Add below code in your ajax success function.



                success: function (data) 
                transactionGridJsObject.resetFilter()



                If you still not getting the solution then try with below way.



                • How to load Ui component grid table

                • Reload page if ajax is success

                • Successs message after ajax response

                I hope it helps!






                share|improve this answer













                Try with below way.



                Add below code in your ajax success function.



                success: function (data) 
                transactionGridJsObject.resetFilter()



                If you still not getting the solution then try with below way.



                • How to load Ui component grid table

                • Reload page if ajax is success

                • Successs message after ajax response

                I hope it helps!







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered yesterday









                Chirag PatelChirag Patel

                2,378423




                2,378423



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f267977%2fmagento2-admin-ui-component-on-fileuploader-ajax-completion-in-ui-component-ho%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Sum ergo cogito? 1 nng

                    三茅街道4182Guuntc Dn precexpngmageondP