Page 1 of 1

Return characters in a datagrid column

Posted: Fri May 07, 2010 8:03 pm
by phaworth
Some of the data I want to put into a datagrid table contains return characters. The datagrid interprets the return character as the end of a row of data. Is there some way to get the return character treated as part of the column data instead of a row terminator?
Thanks,
Pete

Re: Return characters in a datagrid column

Posted: Fri May 07, 2010 9:26 pm
by trevordevore
Populate the data grid using an array rather than text. This means you set the dgData property as opposed to the dgText property.

Scroll down in this lesson to see an example:

How Do I Populate a Data Grid With Data?