Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newline characters in Datagrid fields

Status
Not open for further replies.

clemrock

Programmer
May 20, 2004
118
US

Hello,

I'm trying to display some text in a datagrid field w/ newline characters and nothing seems to respond.

I've tried all of these:

1. code_list += split_code_val[1] + newline;

2. code_list += split_code_val[1] + "\n";

3. code_list += split_code_val[1] + "<br>";

4. code_list += split_code_val[1] + "\r";

Any ideas what I can do?

Thanks,

Clem C
 
If you trace split_code_val[1] do you get a string?

Code:
trace(split_code_val[1]);

Wow JT that almost looked like you knew what you were doing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top