Jump to content
  • 0

How to make the record count on top instead on the bottom


SunakoChan
 Share

Question

2 answers to this question

Recommended Posts

  • 0

Hi @SunakoChan You can achive this using a bit of CSS and javascript

you just need to add a header and footer to your results page and add the following code in the header. Don't forget to disable the HTML editor in the Advanced tab.

<style>
#record{
  margin: auto;
  width: 60%;
  padding: 10px;
text-align: center;
}
.cbResultSetNavigationTable{
display: none !important
}
</style>
<div id="record"></div>

<script>
document.addEventListener("DataPageReady", function(event){

var record = document.getElementsByClassName("cbRecordCountMessage Center  cbResultSetRecordMessage")[0].innerHTML;
document.getElementById("record").innerHTML = record;
});
</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...
 Share

×
×
  • Create New...