Jump to content

Hiding a few columns?


gbligh

Recommended Posts

Hi all,

Does anyone know how to hide some columns in assignment manager. As you'll see in the screenshot, it's a bit messy on our homework page. All I want to KEEP is title, issue date, due date and the close button.

Thanks

Screenshot 2018-11-05 at 16.24.43.png

Link to comment
Share on other sites

  • 2 weeks later...
On 05/11/2018 at 16:25, gbligh said:

Hi all,

Does anyone know how to hide some columns in assignment manager. As you'll see in the screenshot, it's a bit messy on our homework page. All I want to KEEP is title, issue date, due date and the close button.

Thanks

Screenshot 2018-11-05 at 16.24.43.png

Has no one helped you with this???  Surely the mighty @Graham Quince will have a bit of code that'll do this?

Link to comment
Share on other sites

37 minutes ago, Graham Quince said:

Sorry - I'm flat out at the moment.  

Although you both know how to do this  ;):

  • Right-click on the column
  • Inspect Element
  • Find the class
  • Use CSS to for display: none;

I do... but like i keep saying to you.....  wheres the fun in doing it yourself...... :P

Link to comment
Share on other sites

So something like this which i use to hide columns in a shared folder widget.... 

<style>
div[data-content-uuid="16C17E4D200284E586D7DFD71F3B0A0548297DFC5EF1E60E"] th:nth-child(3),
div[data-content-uuid="16C17E4D200284E586D7DFD71F3B0A0548297DFC5EF1E60E"] th:nth-child(4),
div[data-content-uuid="16C17E4D200284E586D7DFD71F3B0A0548297DFC5EF1E60E"] th:nth-child(5),
div[data-content-uuid="16C17E4D200284E586D7DFD71F3B0A0548297DFC5EF1E60E"] td:nth-child(3),
div[data-content-uuid="16C17E4D200284E586D7DFD71F3B0A0548297DFC5EF1E60E"] td:nth-child(4),
div[data-content-uuid="16C17E4D200284E586D7DFD71F3B0A0548297DFC5EF1E60E"] td:nth-child(5) {
    display:none !important;
}
</style>

Link to comment
Share on other sites

Yup, you got it

10 minutes ago, ADT said:

So something like this which i use to hide columns in a shared folder widget.... 

<style>
div[data-content-uuid="16C17E4D200284E586D7DFD71F3B0A0548297DFC5EF1E60E"] th:nth-child(3),
div[data-content-uuid="16C17E4D200284E586D7DFD71F3B0A0548297DFC5EF1E60E"] th:nth-child(4),
div[data-content-uuid="16C17E4D200284E586D7DFD71F3B0A0548297DFC5EF1E60E"] th:nth-child(5),
div[data-content-uuid="16C17E4D200284E586D7DFD71F3B0A0548297DFC5EF1E60E"] td:nth-child(3),
div[data-content-uuid="16C17E4D200284E586D7DFD71F3B0A0548297DFC5EF1E60E"] td:nth-child(4),
div[data-content-uuid="16C17E4D200284E586D7DFD71F3B0A0548297DFC5EF1E60E"] td:nth-child(5) {
    display:none !important;
}

</style>

 

Here's the code for your platform:

<style>
    div[data-content-uuid="569A3322200284EA704A7F92E252E10C553396DCEE3BB4BE"] table th:nth-child(8),
    div[data-content-uuid="569A3322200284EA704A7F92E252E10C553396DCEE3BB4BE"] table td:nth-child(8) {
        /*background: #ff0000 !important;*/
        display: none;
    }

</style>

 

  • Like 1
Link to comment
Share on other sites

4 minutes ago, Graham Quince said:

Yup, you got it

 

Here's the code for your platform:


<style>
    div[data-content-uuid="569A3322200284EA704A7F92E252E10C553396DCEE3BB4BE"] table th:nth-child(8),
    div[data-content-uuid="569A3322200284EA704A7F92E252E10C553396DCEE3BB4BE"] table td:nth-child(8) {
        /*background: #ff0000 !important;*/
        display: none;
    }

</style>

 

Did you notice it took some prompting...  and some whinging about being to busy...  then he did it anyway... @gbligh

Hes as bad as the kids at school..... :P

Link to comment
Share on other sites

4 minutes ago, ADT said:

Did you notice it took some prompting...  and some whinging about being to busy...  then he did it anyway... @gbligh

Hes as bad as the kids at school..... :P

umm, you see, that attitude is counter-productive, because next time i get a free moment, i'll not try to help - otherwise it looks like i respond to nagging :)

Link to comment
Share on other sites

1 minute ago, Graham Quince said:

umm, you see, that attitude is counter-productive, because next time i get a free moment, i'll not try to help - otherwise it looks like i respond to nagging :)

Hey the poor lad asked the question on the 5th.....  i was just helping get it answered!! :P

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...