Stump the Panel » End Users and Information Workers

Limit Number of Rows in MultiLine Text Field

(4 posts)
  • Started 4 days ago by kidtroopa
  • Latest reply from AutoSponge
  1. kidtroopa
    Member

    Hello All,
    I have a comments multiline text column in a sharepoint list that I would like to limit the number of rows displayed when someone is viewing the list. Some of the rows are so large that they take up a good portion of the page. I would like to limit the number of rows displayed to one...and force a user to have to click on the item to view the rest of the data.

    Is there a way to do this via javascript? What would be even better is to make the text within the column collapsable.

    Posted 4 days ago #
  2. The easiest way is to replace default list view with a data view web part. It has all the functionalities as default list view, but you can customize the look and feel with XSLT. In your case, limit the number of characters to be displayed...

    Check this article http://office.microsoft.com/en-us/sharepointdesigner/HA100948041033.aspx (Create a Data View by dragging the data source onto the page).

    Paul might have an idea how to fix this with JQuery... :)

    Posted 4 days ago #
  3. kidtroopa
    Member

    Thanks for the quick feedback Toni.

    Posted 4 days ago #
  4. I'm playing with some ideas--nothing solid yet.

    Posted 3 days ago #

RSS feed for this topic

Reply

You must log in to post.