This is my list with my custom json formatting:

List View Json Format

And the embed on my modern page look like:

embed on my modern page

Is there any way to embed just the cards without command bar (and header - title - footer ...) ?? ONLY CARDS.

Only view - only cards

The querystring param isDlg=1 is not working!

Is there any other parameter that only shows the view?



Install react-script-editor web part in your site, then add the CSS style below into react script editor web part in the modern page to achieve your requirement.

Source Code from GitHub: Script editor web part for modern pages built in React

CSS code:

div[class*='ms-ResizeGroup itemsViewDetailsListCommandBar']{
    display:none !important;
    display:none !important;

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.