Magento2 – Disable UI Component Fieldset with Condition adminmagento2uicomponent I try it but not working. everyone can help me plz! Best Answer If you are using magento2.3.1 need to change your filed component code in xml file like below <field name="sort_order" formElement="input"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="source" xsi:type="string">page</item> </item> </argument> <settings> <validation> <rule name="required-entry" xsi:type="boolean">true</rule> </validation> <dataType>text</dataType> <label translate="true">Sort Order</label> <dataScope>sort_order</dataScope> <imports> <link name="disabled">${ $.provider}:data.do_we_hide_it</link> </imports> </settings> </field> Related SolutionsMagento 2 Form UI Component with AJAX Fieldset All I need is a way to do an ajax call when clicking the fieldset header. Currently Fieldset Ui Component doesn't suport such ability: click on fieldset -> load content via AJAX . 1) You can implement it by yourself Take a look on fieldset.js. It can be easily extended with custom behavior. In same maner as fieldset.js extends collapsible.js. 2) You can use InsertListing Ui Component As was pointed above its js part is a insert-listing.js file. Sample can be used like this: <insertListing name="testListingInsert"> <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">cms_page_listing</item> </item> </argument> </insertListing> Where to put this? In any Form Ui Component under <fieldset>'s or <container>'s. What does component do? It uses namespace ns as a locator for some Ui Component, loads it, and instantiate in place. cms_page_listing is a name of configured Listing Ui Component. Magento – how to create grid using ui component with multi table(JOIN) in magento2 You can display values from join two tables by using below model resource collection class function Add below function to your model resource collection function protected function _initSelect() { parent::_initSelect(); $this->getSelect()->joinLeft( ['secondTable' => $this->getTable('tablename')], 'main_table.columnname = secondTable.columnname', ['columnname1','columnname2','columnname3'] ); } You can get more information from here magento2: admin grid showing joined table Related TopicMagento – Magento 2: How to hidden tab fieldset in form ui component
Best Answer
If you are using magento2.3.1 need to change your filed component code in xml file like below