Hi All,
I had a situation today with list webpart. I created a list for A-Z Index list and created views for all the letters and applied as list webparts on a page. It was showing only the links which starts with the letters (for Example: Under A it was showing only the links which starts with A and so far). I'm getting carried away!! Sorry!!
The column title was showing on all the list webparts that were placed on that page and it was looking very awkward. I tried to chekc for some options on the "view" but No success!! I wanted to call this list in content query web part and resolve it ( with one of my friend suggestion!!!) but looks kinda complicated. As a final attempt I wanted to see the css class which is controlling this title header and then bingo!!!!!!!
Here is the solution :
1. Place the list as a webpart on a page.
2. Add a content editor webpart on the page (make it hide by taking crome type : none)
3. Add this piece of code on the source editor
<style>
.ms-viewheadertr { display: none;}
</style>
.ms-viewheadertr is the class which controls the title header, So once you hide it, it will hide all the title headers on the list webparts on that page which is exactly what I wanted.
Hope this will help some of our sharepoint community people.
Thanks for looking the article!!!
I had a situation today with list webpart. I created a list for A-Z Index list and created views for all the letters and applied as list webparts on a page. It was showing only the links which starts with the letters (for Example: Under A it was showing only the links which starts with A and so far). I'm getting carried away!! Sorry!!
The column title was showing on all the list webparts that were placed on that page and it was looking very awkward. I tried to chekc for some options on the "view" but No success!! I wanted to call this list in content query web part and resolve it ( with one of my friend suggestion!!!) but looks kinda complicated. As a final attempt I wanted to see the css class which is controlling this title header and then bingo!!!!!!!
Here is the solution :
1. Place the list as a webpart on a page.
2. Add a content editor webpart on the page (make it hide by taking crome type : none)
3. Add this piece of code on the source editor
<style>
.ms-viewheadertr { display: none;}
</style>
.ms-viewheadertr is the class which controls the title header, So once you hide it, it will hide all the title headers on the list webparts on that page which is exactly what I wanted.
Hope this will help some of our sharepoint community people.
Thanks for looking the article!!!
Comments
Post a Comment