WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Grid lenght error?, Jan Agermose, September 8, 2003
     Re:Grid lenght error?, Emil A Eklund, September 10, 2003
         Re:Grid lenght error?, Jan Agermose, September 12, 2003

Subject: Re:Grid lenght error? From: Jan Agermose Date: September 12, 2003

Could I ask you to post your findings whenever you get around to checking this?

From: Emil A Eklund
Sent: September 11, 2003
Subject: Re:Grid lenght error?

Thanks for poiting this out, I'll check the documentation and the code to verify whatever or not it's the code or documentation that is incorrect.

/Emil
------------------------------------------------------

I was thinking that this:
if (coltype == 0) { maxlen = 10; }
else if ((coltype == 1) && (this.colLengths.length > e.cellIndex)) { maxlen = this.colLengths[e.cellIndex]; }
else if (coltype == 2) { maxlen = 19; }
else if (coltype == 3) { maxlen = 20; }

Should be:
if (coltype == 1) { maxlen = 10; }
else if ((coltype == 2) && (this.colLengths.length > e.cellIndex)) { maxlen = this.colLengths[e.cellIndex]; }
else if (coltype == 3) { maxlen = 19; }
else if (coltype == 4) { maxlen = 20; }

As the types are 1-4 acourding to the API documentation?

Jan Agermose





Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX