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: Grid lenght error? From: Jan Agermose Date: September 8, 2003

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