Solved

Sharepoint List records - display each record on different div

Posted on 2013-05-23
2
416 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
ID: 39192802
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
ID: 39208864
thanks
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

786 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