lem45
Junior Member
Posts: 8
Registered: 10/24/2002
Member Is Offline
|
posted on 1/10/2003 at 03:54 PM |
|
|
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?
|
|
|
alphadog
Member
Posts: 11
Registered: 12/15/2002
Member Is Offline
|
| posted on 1/30/2003 at 04:00 AM |
|
|
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?
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 1/30/2003 at 08:55 AM |
|
|
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.
|
|
|