Hello, I rarely get a response on these forums, but i'm at the end of the line here...
I have a "simple" problem. I am currently using the web hierarchical data grid to display some schedule information. Each row contains 0 to many assignments. I simply want each assignment to be on a new line in the cell.
I was able to do this before by using the "<BR>" tag in the string that filled the cell, but that was with the UltraWebGrid and doesn't appear to be working in this one. The entire grid is populated with an IEnumerable object and the properties within that object, no bands/columns are set in the .aspx page. It seems like this should be really simple, but I can't figure out how to get the grid to recognize line breaks in the cells. I also attempted to use Environment.NewLine, but that didn't work either.
dev_here I would suggest creating a new thread with your issue, as it relates to a different column type. Also, since this issue is closed out, it is less likely that someone will find your question. I wish I could be more helpful, but unfortunately I don't know the answer.
What if it is not BounddataColumn and UnboundDataColumnh. For instance if it is TemplateDataField with a hyperlink control?????
Unfortunately, none of the settings seem to be working correctly for me that you suggested. However, converting the cell into a listbox and repopping the data on InitializeRow (the method I laid out above) is serving me fine for now. If you would like to close this issue out, you can.
Hello jasonwilczak,
I am following up to see if the information provided has resolved this matter.
Please let me know if I may be of further assistance with this matter.
Sincerely,Mike P.Developer Support EngineerInfragistics, Inc.www.infragistics.com
Thank you for the update. Looking at your InitializeRow I have noticed a few things. First it appears that you are setting the <BR> into the row have you using the newline escape sequence ‘\n’ with the EnableMultiline property. Or have you tried using the HtmlEncode property set to false with the <BR>?
Please let know if you have any questions concerning this matter.