Magento 2 : How to get selected record from ui form fieldset listing grid in controller? The...

Novel about a guy who is possessed by the divine essence and the world ends?

Do I need to enable Dev Hub in my PROD Org?

How did people program for Consoles with multiple CPUs?

Sending manuscript to multiple publishers

Is it ever safe to open a suspicious html file (e.g. email attachment)?

Are there any limitations on attacking while grappling?

I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin

Why do airplanes bank sharply to the right after air-to-air refueling?

Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?

Would a galaxy be visible from outside, but nearby?

Indicator light circuit

Why do remote companies require working in the US?

How to start emacs in "nothing" mode (`fundamental-mode`)

How does the mv command work with external drives?

Does it take more energy to get to Venus or to Mars?

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

Why does the UK parliament need a vote on the political declaration?

What flight has the highest ratio of time difference to flight time?

Should I tutor a student who I know has cheated on their homework?

Written every which way

Is 'diverse range' a pleonastic phrase?

What is the result of assigning to std::vector<T>::begin()?

Elegant way to replace substring in a regex with optional groups in Python?

"In the right combination" vs "with the right combination"?



Magento 2 : How to get selected record from ui form fieldset listing grid in controller?



The Next CEO of Stack OverflowMagento 2 form ui component ajax fieldsetMagento 2 - insertListing ui componentMagento 2 Add new field to Magento_User admin formMagento 2 UI grid non db dataprovider and pagination issueHow to insert an ui grid with related records in an ui formHow to pass value from controller to /resourceModel/Collection.php classMagento 2 extending product form hide fieldsetMagento 2 Admin Ui form fieldset dependencyHow to get only selected values of an attribute in listing page in Magento 2?How to add new grid in product form in magento2












0















I have created one UI form with UI grid. When I get params in controller I can not get selected row of UI grid. How to do that?



Here is my UI Component layout file.



<fieldset name="other_field">    
<field name="1">
</field>
<field name="2">
</field>
<field name="3">
</field>
</fieldset>
<fieldset name="slider_config">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="collapsible" xsi:type="boolean">true</item>
<item name="label" xsi:type="string" translate="true">Add Slides to Slider</item>
<item name="sortOrder" xsi:type="number">21</item>
</item>
</argument>
<insertListing>
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="autoRender" xsi:type="boolean">true</item>
<item name="ns" xsi:type="string">vendor_module_slide_listing</item>
</item>
</argument>
</insertListing>
</fieldset>


In above code i need selected rows of insertListing in controller file.









share



























    0















    I have created one UI form with UI grid. When I get params in controller I can not get selected row of UI grid. How to do that?



    Here is my UI Component layout file.



    <fieldset name="other_field">    
    <field name="1">
    </field>
    <field name="2">
    </field>
    <field name="3">
    </field>
    </fieldset>
    <fieldset name="slider_config">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="collapsible" xsi:type="boolean">true</item>
    <item name="label" xsi:type="string" translate="true">Add Slides to Slider</item>
    <item name="sortOrder" xsi:type="number">21</item>
    </item>
    </argument>
    <insertListing>
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="autoRender" xsi:type="boolean">true</item>
    <item name="ns" xsi:type="string">vendor_module_slide_listing</item>
    </item>
    </argument>
    </insertListing>
    </fieldset>


    In above code i need selected rows of insertListing in controller file.









    share

























      0












      0








      0








      I have created one UI form with UI grid. When I get params in controller I can not get selected row of UI grid. How to do that?



      Here is my UI Component layout file.



      <fieldset name="other_field">    
      <field name="1">
      </field>
      <field name="2">
      </field>
      <field name="3">
      </field>
      </fieldset>
      <fieldset name="slider_config">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="collapsible" xsi:type="boolean">true</item>
      <item name="label" xsi:type="string" translate="true">Add Slides to Slider</item>
      <item name="sortOrder" xsi:type="number">21</item>
      </item>
      </argument>
      <insertListing>
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="autoRender" xsi:type="boolean">true</item>
      <item name="ns" xsi:type="string">vendor_module_slide_listing</item>
      </item>
      </argument>
      </insertListing>
      </fieldset>


      In above code i need selected rows of insertListing in controller file.









      share














      I have created one UI form with UI grid. When I get params in controller I can not get selected row of UI grid. How to do that?



      Here is my UI Component layout file.



      <fieldset name="other_field">    
      <field name="1">
      </field>
      <field name="2">
      </field>
      <field name="3">
      </field>
      </fieldset>
      <fieldset name="slider_config">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="collapsible" xsi:type="boolean">true</item>
      <item name="label" xsi:type="string" translate="true">Add Slides to Slider</item>
      <item name="sortOrder" xsi:type="number">21</item>
      </item>
      </argument>
      <insertListing>
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="autoRender" xsi:type="boolean">true</item>
      <item name="ns" xsi:type="string">vendor_module_slide_listing</item>
      </item>
      </argument>
      </insertListing>
      </fieldset>


      In above code i need selected rows of insertListing in controller file.







      magento2 magento2.3 php-7 ui-grid





      share












      share










      share



      share










      asked 4 mins ago









      Mayur JotaniyaMayur Jotaniya

      10110




      10110






















          0






          active

          oldest

          votes












          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%2f268023%2fmagento-2-how-to-get-selected-record-from-ui-form-fieldset-listing-grid-in-con%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f268023%2fmagento-2-how-to-get-selected-record-from-ui-form-fieldset-listing-grid-in-con%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

          “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

          How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

          夢乃愛華...