Solved

Sharepoint List records - display each record on different div

Posted on 2013-05-23
2
423 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

What is a Lightbox? A Lightbox is the effect you see when you click, for example, an image and the screen fades out and up pops the same image but in its full size dimensions. There are lots of Lightbox effects for jQuery. Problem is they are a…
There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
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…

789 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