-
Slice Description without cutting words (en)
This blog post will show you how to make the description text shorter without cutting words in half and display the whole description text as a tooltip. Before: After: Even with a tooltip: Just take the Javascript below, save it and link it to your list. How to do that? Check my other blog post here! // List View – Slice Long String Sample Without Cutting Words // Patrick , afraIT.com (function () { // Create object that have the context information about the field that we want to change it’s output render var bodyFiledContext = {}; bodyFiledContext.Templates = {}; bodyFiledContext.Templates.Fields