Jump to content
  • 0

Hide labels in Grid Edit??


mrsuave

Question

5 answers to this question

Recommended Posts

  • 0

Hey there, just wanted to share this simple trick that I used to do. 

Just simply follow these steps.

1.) Go to your DataPage configuration
2.) Then, locate the Search and Report Wizard - Configure Fields for Bulk Edit
3.) Select the fields that you want to hide > simply erase the Label name that is inside

(Please refer to the screenshot and this will be the actual result)

image.png.2a16f91f8679be8ded2017eda5c4d4d8.png

image.png.06e89b92be984a23823b345a2c02a62a.png

This helped me a lot and works perfectly fine on my DataPages. Cheers mate! :D 

Link to comment
Share on other sites

  • 0

Hi - Just an update, here is the other way to hide a column in Grid Edit - Tabular Report.

div.HeadCtnr > table > tbody > tr.Row[class*='cbResultSetGridTableHeader'] > td:nth-child(1), td[class*='cbResultSetGridDataCell']:nth-child(1){

    display:none !important;

}

Replace 1 with the position order of column to be hidden.

Link to comment
Share on other sites

  • 0
On 10/22/2022 at 7:30 AM, Meekeee said:

Hi - Just an update, here is the other way to hide a column in Grid Edit - Tabular Report.

div.HeadCtnr > table > tbody > tr.Row[class*='cbResultSetGridTableHeader'] > td:nth-child(1), td[class*='cbResultSetGridDataCell']:nth-child(1){

    display:none !important;

}

Replace 1 with the position order of column to be hidden.

Hi @Meekeee thanks for this but thought it is hidden. The column still takes up the spaces as blank. In my case it is on the end/last column.

Link to comment
Share on other sites

  • 0

Hi! I had a similar use case and what I did was manually hide each label as I only have a few labels in my bulk edit. I use the code below. 

<style>
label[for*="EnableBulkEditTestIntCkb"]{
display:none;
}
label[for*="EnableBulkEditFile_Ckb"]{
display:none;
}
div[class*="cbFormBlock1"], div[class*="cbFormBlock3"]{
width: fit-content !important;
}
div[class*="cbFormBlock2"], div[class*="cbFormBlock4"]{
margin-left: -75px !important;
}

</style>

The "cbFormBlock1" and "cbFormBlock3" are the checkboxes while the  "cbFormBlock2" and "cbFormBlock4" are the actual text fields. You can adjust the margin if you wish to. 

image.png.3e5b73a94ce20adff86c02a2930e1d2f.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...