WWW
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives FAQs WWW

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old April 28th, 2008, 12:08 PM
solutionquest solutionquest is offline
Registered User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 1 solutionquest User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 32 m 55 sec
Reputation Power: 0
Need Help With Extremetable

I just started to use eXtremeTable and found it very handy for displaying data.
But, I cannot figure out how to send some data to javascript functions.
For example I have the following code:

Code:
			<ec:table 
						items="refView"
						action="<%=act%>"
						imagePath="${pageContext.request.contextPath}/images/table/*.gif"
						showPagination="true"
						title="Annuity"  
						width="75%"
						rowsDisplayed="10"
						filterable="<%=filter%>"
  						sortable="<%=sort%>"
						var="ann">
						
							
						<ec:row onclick="javascript:doZoomTest(${ann.strAnnuityCode},${ann.  effDate},${ann.recIndex})">
							<ec:column property="recIndex" title="Index" sortable="false" filterable="false" styleClass="col"/>
							<ec:column property="strAnnuityCode" title="Annuity Code" styleClass="col"/>
							<ec:column property="agreementNum" title="Agreement Number" styleClass="col"/>
							<ec:column property="strAnnuityName" title="Annuity Name" styleClass="col"/>
							<ec:column property="effDate" cell="date" parse="yyyy-MM-dd" format="MM/dd/yyyy" title="Effective Date" styleClass="col"/>
							<ec:column property="expDate" title="Expiration Date" styleClass="col"/>
							<%if(editAllowed){%>
								<ec:column property="Edit" title="Edit" sortable="false" filterable="false" styleClass="col">
								
								<img src="images/Pencil.gif" width=14 height=14 border="0"></ec:column>
							<%}%>
							
						</ec:row>
					</ec:table>


When sending parameters to javascript function :

<ec:row onclick="javascript:doZoomTest(${ann.strAnnuityCode},${ann. effDate},${ann.recIndex})">

I have no probleme sending recIndex, but two other parameters display some weird results as : 0.00039820....

Why is that?

Please help if you can.

Thank you.

Reply With Quote
Reply

Viewing: Web Development Archives FAQs WWW > Need Help With Extremetable


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT