tag:blogger.com,1999:blog-7812046294971671845.post8707181863215235984..comments2022-03-21T01:36:15.852+05:30Comments on Bistesh Blog: Bistesh Joishttp://www.blogger.com/profile/07964247280354017134noreply@blogger.comBlogger22125tag:blogger.com,1999:blog-7812046294971671845.post-2684612451328532082018-04-17T07:02:13.152+05:302018-04-17T07:02:13.152+05:30Sorry a year later, but this worked for me, a comb...Sorry a year later, but this worked for me, a combination of Bistesh's code and mod from Issac for both 1st and 2nd group level.<br /><br />for (var i = 0; i < elements.length; i++) {<br /> elem = elements[i];<br /> var newNodeValue1 = elem.childNodes[1].nodeValue = elem.childNodes[1].nodeValue.replace(':', '');<br /> elem.childNodes[0].childNodes[1].nodeValue = newNodeValue1;<br /> elem.childNodes[1].nodeValue = ""; <br /> }<br /> elements = getElementsByClassName(document, "td", "ms-gb2");<br /> <br /> for (var i = 0; i < elements.length; i++) {<br /> elem = elements[i];<br /> var newNodeValue2 = elem.childNodes[2].nodeValue = elem.childNodes[2].nodeValue.replace(':', '');<br /> elem.childNodes[1].childNodes[1].nodeValue = newNodeValue2;<br /> elem.childNodes[2].nodeValue = ""; <br /> }<br /><br />Rencklinhttps://www.blogger.com/profile/01103881695128438546noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-76266029635168484942018-04-17T05:34:35.518+05:302018-04-17T05:34:35.518+05:30Bravo, great script! Many thanks for this.Bravo, great script! Many thanks for this.Rencklinhttps://www.blogger.com/profile/01103881695128438546noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-36027834174735296702017-08-04T18:43:28.255+05:302017-08-04T18:43:28.255+05:30Great work!
Great work!<br />Michaelhttps://www.blogger.com/profile/06271499474138688181noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-46203779222993561442017-06-28T20:31:24.829+05:302017-06-28T20:31:24.829+05:30What can be modified if you want to hide the expan...What can be modified if you want to hide the expand/collapse button? Also can it be modified to hide the entire row if the groupby field is empty?BejeweledOnehttps://www.blogger.com/profile/18270622344787467236noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-3837517331596507872017-05-09T02:36:29.667+05:302017-05-09T02:36:29.667+05:30Sure, we use Office365, and SharePoint Online has ...Sure, we use Office365, and SharePoint Online has started the gradual introduction of new (aka "modern") experiences across the SharePoint service. Your code works in lists using "classic" experience, but not in the new experience.<br /><br />I added your code and in "classic" SharePoint mode the column labels are gone and get a nice clean list. But if I switch to <br /><br />Allison Stamm-Kirkhttps://www.blogger.com/profile/12746447280924280193noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-7074948112155550912017-05-06T10:42:02.313+05:302017-05-06T10:42:02.313+05:30Can you tell me more on modern ui means? We can u...Can you tell me more on modern ui means? We can use any ui like angular js or css to make it work but it's a separate custom dev. Bistesh Joishttps://www.blogger.com/profile/07964247280354017134noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-35616522644036302232017-05-06T02:06:29.780+05:302017-05-06T02:06:29.780+05:30This is exactly what I'm looking for and it wo...This is exactly what I'm looking for and it works perfectly in the classic view of SharePoint, but when the view loads in the new "modern" UI the group labels appear. Any thoughts on how to accomplish this in the new SP UI?Allison Stamm-Kirkhttps://www.blogger.com/profile/12746447280924280193noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-25838783979324846922017-04-13T09:24:37.667+05:302017-04-13T09:24:37.667+05:30This is BRILLIANT Isaac! I work for a Disability O...This is BRILLIANT Isaac! I work for a Disability Organisation and this additional feature assists those with impaired motor skills access the groups. Have a big favour to ask - is the hyperlink feature able to be extended to add to a "child" group please? It works on the first "Group By" title and then only on the Column name a second grouping. THANK YOU again!Anonymoushttps://www.blogger.com/profile/05336844045690369369noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-76670191191471148922017-04-12T02:45:09.211+05:302017-04-12T02:45:09.211+05:30Is there a way to tailor this a specific list/libr...Is there a way to tailor this a specific list/library?<br />Thanks, TrevorAnonymoushttps://www.blogger.com/profile/10972274083404774812noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-36849896272396083242017-04-12T02:44:38.002+05:302017-04-12T02:44:38.002+05:30Is there a way to tailor this to a specific list/l...Is there a way to tailor this to a specific list/library?<br />Thank You, Trevor.Anonymoushttps://www.blogger.com/profile/10972274083404774812noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-67691408190654460332017-02-25T04:50:19.463+05:302017-02-25T04:50:19.463+05:30Thanks for your post. But there seems to be a prob...Thanks for your post. But there seems to be a problem when the users are trying by clicking on the column name on top of the list. And also in 2016 the users have got an option to filter the list based on the column values (just like excel). this doesn't seem to work in that condition too. Could you please provide any updated script f you have nay.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-54597694938177986532017-01-31T13:07:17.623+05:302017-01-31T13:07:17.623+05:30Greeeeeeaaaaaaaaat, Greeeeeeaaaaaaaaat, Anonymoushttps://www.blogger.com/profile/16706067829733202748noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-86928628007700031042016-11-16T19:41:48.100+05:302016-11-16T19:41:48.100+05:30Thankz a lot...it works great....!!!!!!!!!!!!!!Thankz a lot...it works great....!!!!!!!!!!!!!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-19447315026212487192016-08-27T08:46:42.161+05:302016-08-27T08:46:42.161+05:30Love it - awesome post - many thanks!Love it - awesome post - many thanks!Phillip Astonhttps://www.blogger.com/profile/02281409738613661790noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-87127131008022820062016-08-17T16:41:53.756+05:302016-08-17T16:41:53.756+05:30great post. Helped a lot! Thanksgreat post. Helped a lot! ThanksBashahttps://www.blogger.com/profile/17854693630051013619noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-10949885276570620972016-06-01T20:53:38.024+05:302016-06-01T20:53:38.024+05:30Thanks for the post. I made a slight modification...Thanks for the post. I made a slight modification so the grouped by value is becomes the hyperlink to expand group. This way the user can click on the value.<br /><br />for (var i = 0; i < elements.length; i++) {<br /> elem = elements[i];<br /> elem.childNodes[0].childNodes[1].nodeValue = "";<br /> elem.childNodes[1].nodeValue = elem.childNodes[1].nodeValue.replace(':', '');<br />}<br /><br />======== Replaced with this ========<br /><br />for (var i = 0; i < elements.length; i++) {<br /> elem = elements[i];<br /> var newNodeValue = elem.childNodes[1].nodeValue = elem.childNodes[1].nodeValue.replace(':', '');<br /><br /> elem.childNodes[0].childNodes[1].nodeValue = newNodeValue;<br /> elem.childNodes[1].nodeValue = ""; <br />}Isaac Bertrandnoreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-52942671296203531012016-02-13T01:21:01.533+05:302016-02-13T01:21:01.533+05:30You can use this code in standard JS file and incl...You can use this code in standard JS file and include in Master page. This will apply every where. Bistesh Joishttps://www.blogger.com/profile/07964247280354017134noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-43873630182084706122016-02-13T01:11:07.944+05:302016-02-13T01:11:07.944+05:30Thank you! I've tried for 2 days to get this t...Thank you! I've tried for 2 days to get this to work and this is the first script that worked the way I wanted in SP 2013.<br /><br />One follow up question though... I put the code on the page inside a Script Editor WP. I have several sites/pages that I want to use this functionality. What's best practice here?Anonymoushttps://www.blogger.com/profile/01107402424266368621noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-43286251439228088802016-02-05T04:06:50.445+05:302016-02-05T04:06:50.445+05:30Works just as I wanted it to. I have been searchin...Works just as I wanted it to. I have been searching and none of the options I saw work quite this well TANKS!!!Anonymoushttps://www.blogger.com/profile/03742461849350716759noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-67798051834809196272015-11-24T05:51:08.496+05:302015-11-24T05:51:08.496+05:30Oh this is good, this is very, very good and works...Oh this is good, this is very, very good and works in SP 2013/ Office 365. Thank you very much!P3 Connecthttps://www.blogger.com/profile/13643021925962676370noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-48546286470459575922015-08-31T22:34:09.935+05:302015-08-31T22:34:09.935+05:30Thanks so much! This is the only script I have fou...Thanks so much! This is the only script I have found that works in SP 2013. I can't tell you how much you saved my tukus!JThttps://www.blogger.com/profile/06416066407828556122noreply@blogger.comtag:blogger.com,1999:blog-7812046294971671845.post-84576962544451798142015-03-05T12:04:10.474+05:302015-03-05T12:04:10.474+05:30Script works great! I have been looking for hours ...Script works great! I have been looking for hours for this solution!! Thanks a lot!Anonymousnoreply@blogger.com