When I run it with debugging on it shows a box with this. It is the same
every time I click the sorting column.

Generated region markup for 'Recruitment_Div':

<table id="Recruitment_Table" class="datagrid" border="0"
cellpadding="0" cellspacing="0" width="100%"> <tbody><tr
class="FormBar"> <th onclick="dsRecruitments.sort('firstname');"
class="LeftBorder" style="cursor: pointer;" align="left">&nbsp;First
Name</th> <th onclick="dsRecruitments.sort('lastname');" style="cursor:
pointer;" align="left">&nbsp;Last Name</th> <th
onclick="dsRecruitments.sort('company');" style="cursor: pointer;"
align="left" width="350">Company Name</th> <th
onclick="dsRecruitments.sort('country');" style="cursor: pointer;"
align="left" width="100">Country</th> <th
onclick="dsRecruitments.sort('WantedPosition');" style="cursor:
pointer;" align="left" width="100">Wanted Position</th> <th
align="center">&nbsp;</th> <th class="RightBorder"
align="center">&nbsp;</th> </tr> </tbody><tbody> <tr class="FormBody2"
bgcolor="#fbfbfb"> <td class="LeftBorder" align="left" valign="middle"
width="125"> Chad </td> <td align="left" valign="middle" width="125">
McCue </td> <td valign="middle" width="350"> Advanced Media Productions
</td> <td valign="middle" width="100"> Canada </td> <td valign="middle"
width="250"> Colorist </td> <td valign="middle"> <a
href="index.cfm?event=EditRecruitment&amp;RecruitmentID=1">Edit</a>
</td> <td class="RightBorder" valign="middle"> <a
href="index.cfm?event=DeleteRecruitment&amp;RecruitmentID=1"
onclick="return confirm('Are you sure you want to remove this
recruitment?');">Delete</a> </td> </tr><tr class="FormBody2"
bgcolor="#fbfbfb"> <td class="LeftBorder" align="left" valign="middle"
width="125"> Mike </td> <td align="left" valign="middle" width="125">
Smith </td> <td valign="middle" width="350"> Phat Cutz </td> <td
valign="middle" width="100"> France </td> <td valign="middle"
width="250"> Colorist </td> <td valign="middle"> <a
href="index.cfm?event=EditRecruitment&amp;RecruitmentID=2">Edit</a>
</td> <td class="RightBorder" valign="middle"> <a
href="index.cfm?event=DeleteRecruitment&amp;RecruitmentID=2"
onclick="return confirm('Are you sure you want to remove this
recruitment?');">Delete</a> </td> </tr> </tbody> </table>

 


Chad McCue
Advanced Media Productions
251 West Central St. Suite 28
Natick MA, 01760
 
[EMAIL PROTECTED]
p: 508.647.5151 ext 16
f: 508.647.5150

-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 22, 2006 11:15 AM
To: CF-Talk
Subject: Re: Spry Dataset not sorting

Add this:

Spry.Data.Region.debug = true;

On 11/22/06, Chad McCue <[EMAIL PROTECTED]> wrote:
> How is SPRY debugging turned on? Suppose to be a certain cap to make 
> sorting work?
>
> -----Original Message-----
> From: Raymond Camden [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 22, 2006 10:33 AM
> To: CF-Talk
> Subject: Re: Spry Dataset not sorting
>
> Could it be a case issue? Maybe sort on COUNTRY instead. You can turn 
> on Spry Debugging and it may help.
>
> On 11/22/06, Chad McCue <[EMAIL PROTECTED]> wrote:
> > I have a dataset that displays correctly but doesn't seem to sort 
> > when
>
> > I use onclick="dsRecruitments.sort('country');" anyone know where in

> > the SPRY JS I can put some alerts where the sorting should be
> happening.
> >
> > I have 3 pages each showing different datasets. Only one page will 
> > sort the rest will not. The one page that sorts only sorts each 
> > column
>
> > once, will not sort back the other way when clicked again.
> >
> > Any ideas
> >
> >
> >
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261437
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to