Jump to content
  • 0

Hide search bar and change layout of Search and Tabular report datapage


Quinn

Question

Hi,

I am looking for ways to:

1. Hide the search button.

2. Move the check box filters to either the same line as the Grid Edit Option or something equally as compact (tabular header maybe)

3. Have the tabular data automatically update on changing of the checkbox selections.

Any help would be greatly appreciated. 

chnage layout of search and tabular.png

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Point 3 is solved using the following script in the footer of the results page configuration wizard:

<script>

var thisDP = document.querySelector(`[action*="[@cbAppKey]"]`);

thisDP.addEventListener('change', function() {
  console.log('Changed!');
  thisDP.querySelector('.cbSearchButton').click();
});

</script>

 

Link to comment
Share on other sites

  • 0

Hi @Quinn - you can try the CSS code below. You can still adjust the margins if you wish to. 

<style>
.cbSearchButton, .cbSearchButtonContainer {
    display: none !important; 
}
.cbResultSetActionsContainer{
    width: fit-content !important;
    margin-top: -29px !important;
}
section[class*="cbFormSection"]{
    margin-bottom: -25px !important;
    margin-left: 100px !important;
}
</style>

image.png.5cd92e577ec5e757f223cc8cc8f6d9c8.png

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...