{"id":980,"date":"2017-06-14T16:54:50","date_gmt":"2017-06-14T22:54:50","guid":{"rendered":"http:\/\/www.idubbs.com\/blog\/?p=980"},"modified":"2017-06-14T17:58:11","modified_gmt":"2017-06-14T23:58:11","slug":"js-link-add-ellipsis-to-a-column","status":"publish","type":"post","link":"https:\/\/www.idubbs.com\/blog\/2017\/js-link-add-ellipsis-to-a-column\/","title":{"rendered":"JS Link &ndash; Add Ellipsis to a Column"},"content":{"rendered":"<p>Ran across a random request the other day to see the ellipsis menu added to a column other than the Title column. Turns out it\u2019s a pretty simple change similar to how we change the column header text in a SharePoint view.<\/p>\n<p>listItemMenu = \u201cTRUE\u201d<\/p>\n<p>See the full code <a href=\"http:\/\/www.idubbs.com\/blog\/wp-content\/uploads\/2017\/06\/CSR_AddEllipsis.js\">HERE<\/a>.<\/p>\n<p>Note: To remove the ellipsis from the Title column in the view, change the column from \u201cTitle (linked to item with edit menu)\u201d to \u201cTitle\u201d field in the view Columns.<\/p>\n<h3>References<\/h3>\n<ul>\n<li><a href=\"http:\/\/www.idubbs.com\/blog\/wp-content\/uploads\/2017\/06\/CSR_AddEllipsis.js\" target=\"_blank\" rel=\"noopener\">AddEllipsis.js Sample File<\/a><\/li>\n<li><a href=\"http:\/\/www.idubbs.com\/blog\/js-link-and-csr\/\">JS Link posts and sample code<\/a><\/li>\n<li><a href=\"http:\/\/www.idubbs.com\/blog\/2014\/js-link-hello-world\/\">JS Link \u00a0&#8211; Hello World<\/a><\/li>\n<\/ul>\n<p><em>Note and Disclaimer: JS Link currently works in SharePoint 2013, 2016, and SharePoint Online. JS Link does NOT work with the \u2018Modern Experience\u2019 interface \u2013 only Classic Mode. See \u2018<a href=\"http:\/\/www.idubbs.com\/blog\/2016\/js-link-in-sharepoint-choose-your-path-forward\/\" target=\"_blank\" rel=\"noopener\">Choose Your Path Forward\u2019 for more information<\/a>. <\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ran across a random request the other day to see the ellipsis menu added to a column other than the Title column. Turns out it\u2019s a pretty simple change similar [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[33,4,10,11,21],"tags":[135,136],"class_list":["post-980","post","type-post","status-publish","format-standard","hentry","category-client-side-rendering-csr","category-js-link","category-office365","category-sharepoint","category-sharepoint-online","tag-ellipsis","tag-menu"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pgWQ1-fO","jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts\/980","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/comments?post=980"}],"version-history":[{"count":4,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts\/980\/revisions"}],"predecessor-version":[{"id":985,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts\/980\/revisions\/985"}],"wp:attachment":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/media?parent=980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/categories?post=980"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/tags?post=980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}