kwizcom banner advertisement

Expand-Collapse for Multiline Text columns in Sharepoint

7:09 PM    , , , , ,
Some times, when working with the Multiline fields, they may occupy the whole page :-). We can solve this issue by introducing Expand-Collapse Trick with jQuery. On clicking on the little Arrow that row will be expanded, then again clicking will collapse. Here is How: Add the CEWP webpart and place the below code, then hide the webpart. <script type="text/javascript"> if(typeof jQuery=='undefined'){ var jQPath = 'https://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js' document.write('<script src="',jQPath,'" type="text/javascript"><\/script>'); } </script> <style type="text/css"> .expandText {height:auto;} .collapseText {height:28px;overflow:hidden} </style> <script type="text/javascript"> function ExpGroupRenderData(htmlToRender, groupName, isLoaded) { $("#tbod"+groupName+"_").attr("isloaded",isLoaded) .html(htmlToRe
Expand-Collapse for Multiline Text columns in Sharepoint Expand-Collapse for Multiline Text columns in Sharepoint Reviewed by Salaudeen Rajack on 7:09 PM Rating: 5
Powered by Blogger.