Brilliant! I have been pouring over this code for two days, I guess I couldn't see the forest from the trees.
I did put together a workaround...instead of creating new rows from the sorted array, I just created a blank row, and swapped it with the next row from the array, and deleted the blank...
Here are the files needed to re-create the problem:
--thx
****************hitlistdev.css************
BODY
{
BORDER-RIGHT: indigo thin solid;
PADDING-RIGHT: 0px;
BACKGROUND-POSITION: left top;
BORDER-TOP: indigo thin solid;
PADDING-LEFT: 60px;
PADDING-BOTTOM: 0px...
Sorry, I misunderstood. The site is not a public internet site, but here's the source. I got it from:
http://javascript.internet.com/forms/sort-data-table.html
*************************************
function sortTable(col, tableToSort)
{
var iCurCell = col + tableToSort.cols;
var...
Help!
I have an HTML table that is being updated client-side with .insertrow and .insertcell. My problem is that when the user adds a new field, the new <TD> fields do not get the formatting that I specified in my CSS.
Any suggestions?
-Richard
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.