Solved

Sharepoint List records - display each record on different div

Posted on 2013-05-23
2
395 Views
Last Modified: 2013-05-30
Hello,

I have a SharePoint list with 3 records ....

ID | Team | TimeFrame
1 | Alpha | Daily
2 |Bravo | Weekly
3| Delta |Hourly

I have tried using DataFormWebPart, XlstListView, etc. but cant figure out how to only display a single record on the div.

ie: Record1 to display on Div1, Record2 to display on Div2, etc.

Any suggestions?
0
Comment
Question by:nriddock
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
Comment Utility
Hi,
you could easily use a combination of jQuery and SPServices (http://spservices.codeplex.com) - GetListItems.

Add a container DIV, get the list items and then in the foreach add another div element in your container div or build the content and assign it to your existing divs.
Works on SharePoint services 3.0 / Foundation as well as SharePoint server editions (2007/2010/2013).

HTH
Rainer
0
 

Author Closing Comment

by:nriddock
Comment Utility
thanks
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now