<tfoot id='u8I9l'></tfoot>
      1. <i id='u8I9l'><tr id='u8I9l'><dt id='u8I9l'><q id='u8I9l'><span id='u8I9l'><b id='u8I9l'><form id='u8I9l'><ins id='u8I9l'></ins><ul id='u8I9l'></ul><sub id='u8I9l'></sub></form><legend id='u8I9l'></legend><bdo id='u8I9l'><pre id='u8I9l'><center id='u8I9l'></center></pre></bdo></b><th id='u8I9l'></th></span></q></dt></tr></i><div id='u8I9l'><tfoot id='u8I9l'></tfoot><dl id='u8I9l'><fieldset id='u8I9l'></fieldset></dl></div>

        <small id='u8I9l'></small><noframes id='u8I9l'>

      2. <legend id='u8I9l'><style id='u8I9l'><dir id='u8I9l'><q id='u8I9l'></q></dir></style></legend>
          <bdo id='u8I9l'></bdo><ul id='u8I9l'></ul>

        通过 JavaScript 访问 Magento Admin Grid 的对象

        Accessing Object of Magento Admin Grid via Java-Script(通过 JavaScript 访问 Magento Admin Grid 的对象)
        <i id='OxJz1'><tr id='OxJz1'><dt id='OxJz1'><q id='OxJz1'><span id='OxJz1'><b id='OxJz1'><form id='OxJz1'><ins id='OxJz1'></ins><ul id='OxJz1'></ul><sub id='OxJz1'></sub></form><legend id='OxJz1'></legend><bdo id='OxJz1'><pre id='OxJz1'><center id='OxJz1'></center></pre></bdo></b><th id='OxJz1'></th></span></q></dt></tr></i><div id='OxJz1'><tfoot id='OxJz1'></tfoot><dl id='OxJz1'><fieldset id='OxJz1'></fieldset></dl></div>
      3. <small id='OxJz1'></small><noframes id='OxJz1'>

          <bdo id='OxJz1'></bdo><ul id='OxJz1'></ul>
            <tbody id='OxJz1'></tbody>
        • <tfoot id='OxJz1'></tfoot>

                1. <legend id='OxJz1'><style id='OxJz1'><dir id='OxJz1'><q id='OxJz1'></q></dir></style></legend>

                  本文介绍了通过 JavaScript 访问 Magento Admin Grid 的对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想访问 Magento Adminhtml Grid 的 JavaScript 对象.我想在我的对话框关闭并且对控制器的 Ajax 请求完成后重新加载网格.

                  I would like to access the JavaScript Object of the Magento Adminhtml Grid. I want to reload the Grid after my Dialog is closed an the Ajax-Request to the Controller has finished.

                  如果我修改 grid.js,这很容易实现.但是我不想修改magento本身的grid.js.

                  If i modify the grid.js this is easy to make. But i don't want to modify the grid.js of magento itself.

                  任何想法我可以如何访问该对象?

                  Any ideas how i can access that object?

                  推荐答案

                  迟到的答案,但也许会对某人有所帮助

                  Late answer, but maybe it will help someone

                  如果你像这样在 Grid.php 中设置网格:

                  If you setup the grid in Grid.php like this:

                  parent::__construct();
                  $this->setId('your_grid_id');
                  .
                  .
                  .
                  

                  来自javascript,网格对象是

                  from javascript, grid object is

                  your_grid_idJsObject
                  

                  在你的情况下

                  your_grid_idJsObject.reload();
                  

                  这篇关于通过 JavaScript 访问 Magento Admin Grid 的对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  quot;Status Code:200 OK (from ServiceWorker)quot; in Chrome Network DevTools?(“状态码:200 OK(来自 ServiceWorker)在 Chrome 网络开发工具中?)
                  How to set a header for a HTTP GET request, and trigger file download?(如何为 HTTP GET 请求设置标头并触发文件下载?)
                  Adding custom HTTP headers using JavaScript(使用 JavaScript 添加自定义 HTTP 标头)
                  SQL Query DocumentDB in Azure Functions by an integer not working(通过整数在 Azure Functions 中 SQL 查询 DocumentDB 不起作用)
                  Azure Functions [JavaScript / Node.js] - HTTP call, good practices(Azure Functions [JavaScript/Node.js] - HTTP 调用,良好实践)
                  Azure Functions - Import Custom Node Module(Azure Functions - 导入自定义节点模块)
                    <tbody id='kOlbB'></tbody>
                2. <legend id='kOlbB'><style id='kOlbB'><dir id='kOlbB'><q id='kOlbB'></q></dir></style></legend>

                    <small id='kOlbB'></small><noframes id='kOlbB'>

                      <bdo id='kOlbB'></bdo><ul id='kOlbB'></ul>

                      <tfoot id='kOlbB'></tfoot>
                    • <i id='kOlbB'><tr id='kOlbB'><dt id='kOlbB'><q id='kOlbB'><span id='kOlbB'><b id='kOlbB'><form id='kOlbB'><ins id='kOlbB'></ins><ul id='kOlbB'></ul><sub id='kOlbB'></sub></form><legend id='kOlbB'></legend><bdo id='kOlbB'><pre id='kOlbB'><center id='kOlbB'></center></pre></bdo></b><th id='kOlbB'></th></span></q></dt></tr></i><div id='kOlbB'><tfoot id='kOlbB'></tfoot><dl id='kOlbB'><fieldset id='kOlbB'></fieldset></dl></div>