- This topic is empty.
- 08/16/2011 at 6:55 am #4998
Feel free to improve/extend the function.
Then you create a calculated field on the qListView using ezEdit option and in the Calculated Value enter the following
This would do the work for you. Please see the screenshot/.
Any questions, please let me know.
If you consider that this answers your question please mark it so.
function DisplayChars(str, charNumber)
if (charNumber < 0)
charNumber = 0;
var displayedStatus = str;
if (typeof(displayedStatus) != 'undefined' && displayedStatus != null && displayedStatus.length > charNumber)
displayedStatus = str.substr(0, charNumber);
- 01/08/2014 at 7:01 am #6777
- 01/09/2014 at 9:41 am #4134
Is there a reference document that shows the various syntax?
Specifically I am trying to shorten the display of a multi-line of text field to the first 100 characters.
- 01/09/2014 at 9:41 am #6780
- 01/09/2014 at 9:43 am #6779
It could be that there is an error in the js function and that causes the column to display nothing.
Can you debug the code and see what happens in the js function?
You must be logged in to reply to this topic.