Sunday, March 28, 2010

Spry Data Set: not all members...

I have a simple data set showing membership in a group. About 100 members with 5 columns of information. When I preview the results only about 30 members are showing up %26amp; they are in the middle of the alphabet. I have not had problems updating the lsit in the past but now I am.

Unfortunately I cannot show an example because the information is password protected for members only.

Here is the code:

%26lt;script src=''../SpryAssets/SpryData.js'' type=''text/javascript''%26gt;%26lt;/script%26gt;
%26lt;script src=''../SpryAssets/SpryHTMLDataSet.js'' type=''text/javascript''%26gt;%26lt;/script%26gt;
%26lt;script type=''text/javascript''%26gt;
%26lt;!--
var HSP = new Spry.Data.HTMLDataSet(null, ''HSP'');
//--%26gt;
%26lt;/script%26gt;

%26lt;div spry:region=''HSP''%26gt;
?%26lt;table width=''100%'' class=''Directory''%26gt;
?%26lt;tr class=''Directory''%26gt;
?%26lt;th spry:sort=''First_Name''%26gt;First_Name%26lt;/th%26gt;
?%26lt;th spry:sort=''Last_Name''%26gt;Last_Name%26lt;/th%26gt;
?%26lt;th spry:sort=''Company''%26gt;Company%26lt;/th%26gt;
?%26lt;th spry:sort=''Phone''%26gt;Phone%26lt;/th%26gt;
?%26lt;th spry:sort=''E-MAIL''%26gt;E-MAIL%26lt;/th%26gt;
?%26lt;th spry:sort=''WebPage''%26gt;WebPage%26lt;/th%26gt;
?%26lt;/tr%26gt;
?%26lt;tr class=''Directory'' spry:repeat=''HSP'' spry:odd=''DirectoryOddRow'' spry:even=''DirectoryEvenRow'' spry:hover=''DirectoryHover'' spry:select=''Directory''%26gt;
?%26lt;td class=''Directory''%26gt;{First_Name}%26lt;/td%26gt;
?%26lt;td class=''Directory''%26gt;{Last_Name}%26lt;/td%26gt;
?%26lt;td class=''Directory''%26gt;{Company}%26lt;/td%26gt;
?%26lt;td class=''Directory''%26gt;{Phone}%26lt;/td%26gt;
?%26lt;td class=''Directory''%26gt;%26lt;a href=''mailto:{E-MAIL}'' %26gt;{E-MAIL}%26lt;/a%26gt;%26lt;/td%26gt;
?%26lt;td class=''Directory''%26gt;%26lt;a href=''http://{WebPage}'' target=''_blank'' %26gt;{WebPage}%26lt;/a%26gt;%26lt;/td%26gt;
?%26lt;/tr%26gt;
?%26lt;/table%26gt;
?%26lt;/div%26gt;

Spry Data Set: not all members...

check your table structure. If everything is correct and now validation errors.

If none of those are the issues, post a online url.

Spry Data Set: not all members...

Arnout,

The table structure got messed up when I exported the CSV from the spreadsheet.

A few rows had an extra cell on the end I couldn't see.?Thank you.

No comments:

Post a Comment