Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Comma at the end of table data
lem45
Junior Member

Posts: 8
Registered: 10/24/2002
Member Is Offline
sad.gif posted on 1/10/2003 at 03:54 PM Reply With Quote
Comma at the end of table data


I am using the table with data that is generated from a Lotus Notes view. I am unable to prevent the last rom from having a comma after it, however this makes the table break. Can I change the script to make it ignore this extra comma?
View User's Profile View All Posts By User U2U Member
alphadog
Member

Posts: 11
Registered: 12/15/2002
Member Is Offline
posted on 1/30/2003 at 04:00 AM Reply With Quote

Haven't tried it with my pages, but would adding an empty [] as the last content element be a solution to allow display instead of javascript errors?
View User's Profile View All Posts By User U2U Member
nik


Posts:
Registered: 1/1/1970
Member Is Offline
posted on 1/30/2003 at 08:55 AM Reply With Quote
re: Comma at the end of table data


Alphadog's advice was very good but besides this you should also replace row in table.js
p.rows = content.length-p.head-p.foot
by
p.rows = content.length-p.head-p.foot - 1
and this last element will be ignored.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Simple
XP-styled
3D designed
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004