Jump to content
  • 0

How to add additional add button on my Inline Insert on the first column of my report page?


thead

Question

Hello,

Is it possible to add additional add button on my Inline Insert on the first column of my report page? I have a lot of columns on my report page so the add button is not visible on my initial load I need to move to the right to click the add button so if its possible I want to add additional add button on my first column.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi Thead,

Yes it is possible to add additional add button on the first column of your report DataPage. Please follow the below steps:

1. Go to your Configure Results Page Fields.

2. Add Header and Footer.

3. Add HTML block on the first field of your DataPage Elements

4. Click your Footer and disabled the HTML editor.

5. Copy and paste this below codes to your Footer:

<script>

var cellval = document.querySelector("table[data-cb-name='cbTable'] tr:nth-child(2) > td:nth-child(1)");

    if (cellval.innerHTML === "&nbsp;") {    
        var inputNode = document.createElement('input');
        inputNode.type = "submit";
        inputNode.name = "Mod0InlineAdd";
        inputNode.value = "Add";
        inputNode.className = "cbResultSetAddButton";
    cellval.appendChild(inputNode);
}
</script>

Hope this helps.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...