<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 的对象

        时间:2023-08-01
        <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 的对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Bootstrap 响应式网格布局(3 列),每个网格元素下方具有折叠/隐藏的 col-12 下一篇:在网格中动态更改类型

                  相关文章

                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>
                  1. <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>