Disable inline edit in ui listingMagento 2 - Disable product attribute if custom module is disabledHow to...
How long is the D&D Starter Set campaign?
If I delete my router's history can my ISP still provide it to my parents?
How to avoid being sexist when trying to employ someone to function in a very sexist environment?
How much mayhem could I cause as a sentient fish?
Lagrangian corresponding to these equations of motion
CREATE ASSEMBLY System.DirectoryServices.AccountManagement.dll without enabling TRUSTWORTHY
Cookies - Should the toggles be on?
How to prevent users from executing commands through browser URL
Digits in an algebraic irrational number
Can an insurance company drop you after receiving a bill and refusing to pay?
Word or phrase for showing great skill at something WITHOUT formal training in it
Can a person refuse a presidential pardon?
How to say "Brexit" in Latin?
Is my visa status for all destinations in a flight with connections checked in the beginning or before each flight?
Strange Sign on Lab Door
What is the wife of a henpecked husband called?
Why publish a research paper when a blog post or a lecture slide can have more citation count than a journal paper?
Writing a character who is going through a civilizing process without overdoing it?
Blindfold battle as a gladiatorial spectacle - what are the tactics and communication methods?
Why did the villain in the first Men in Black movie care about Earth's Cockroaches?
How do Chazal know that the descendants of a Mamzer may never marry into the general populace?
Why exactly do action photographers need high fps burst cameras?
Are there any modern advantages of a fire piston?
How to deal with an incendiary email that was recalled
Disable inline edit in ui listing
Magento 2 - Disable product attribute if custom module is disabledHow to enable inline edit in catalog grid without changing source code?Magento 2 admin grid edit inline?How to disable product edit fields based on admin role in magento 2Magento2 custom EAV in ui component listingMagento 2 Edit form data is not displaying in tableMagento 2.2 CRUD(Add,Update,Delete,Inline Edit) with ui componentInline edit not working in gridInline edited catch response in javascriptSet inline edit disable for certain row
I have created a custom module where i add data. This data is displayed on the grid. On the grid i have enable inline editing.
Now i want to disable this inline editing only when certain condition is match.
Like the parameter passed on the page is x then show the inline edit else disable inline edit.
magento2 magento-2.1 uicomponent list-view inline-editor
add a comment |
I have created a custom module where i add data. This data is displayed on the grid. On the grid i have enable inline editing.
Now i want to disable this inline editing only when certain condition is match.
Like the parameter passed on the page is x then show the inline edit else disable inline edit.
magento2 magento-2.1 uicomponent list-view inline-editor
add a comment |
I have created a custom module where i add data. This data is displayed on the grid. On the grid i have enable inline editing.
Now i want to disable this inline editing only when certain condition is match.
Like the parameter passed on the page is x then show the inline edit else disable inline edit.
magento2 magento-2.1 uicomponent list-view inline-editor
I have created a custom module where i add data. This data is displayed on the grid. On the grid i have enable inline editing.
Now i want to disable this inline editing only when certain condition is match.
Like the parameter passed on the page is x then show the inline edit else disable inline edit.
magento2 magento-2.1 uicomponent list-view inline-editor
magento2 magento-2.1 uicomponent list-view inline-editor
asked Nov 1 '18 at 12:37
Avesh NaikAvesh Naik
36412
36412
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
For Example:
if you want to disable inline edit
app/code/Custom/Module/view/adminhtml/ui_component/customer_listing.xml
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<columns name="customer_columns">
<settings>
<editorConfig>
<param name="enabled" xsi:type="boolean">false</param>
</editorConfig>
</settings>
</columns>
</listing>
This following piece of code should disable the inline editing feature.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f248750%2fdisable-inline-edit-in-ui-listing%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
For Example:
if you want to disable inline edit
app/code/Custom/Module/view/adminhtml/ui_component/customer_listing.xml
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<columns name="customer_columns">
<settings>
<editorConfig>
<param name="enabled" xsi:type="boolean">false</param>
</editorConfig>
</settings>
</columns>
</listing>
This following piece of code should disable the inline editing feature.
add a comment |
For Example:
if you want to disable inline edit
app/code/Custom/Module/view/adminhtml/ui_component/customer_listing.xml
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<columns name="customer_columns">
<settings>
<editorConfig>
<param name="enabled" xsi:type="boolean">false</param>
</editorConfig>
</settings>
</columns>
</listing>
This following piece of code should disable the inline editing feature.
add a comment |
For Example:
if you want to disable inline edit
app/code/Custom/Module/view/adminhtml/ui_component/customer_listing.xml
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<columns name="customer_columns">
<settings>
<editorConfig>
<param name="enabled" xsi:type="boolean">false</param>
</editorConfig>
</settings>
</columns>
</listing>
This following piece of code should disable the inline editing feature.
For Example:
if you want to disable inline edit
app/code/Custom/Module/view/adminhtml/ui_component/customer_listing.xml
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<columns name="customer_columns">
<settings>
<editorConfig>
<param name="enabled" xsi:type="boolean">false</param>
</editorConfig>
</settings>
</columns>
</listing>
This following piece of code should disable the inline editing feature.
answered 6 mins ago
Magento DevMagento Dev
285
285
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f248750%2fdisable-inline-edit-in-ui-listing%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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