Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Chad on Oct 07, 2008 17:29
open dhtmlx forum
very wide textarea in edit mode. can i do text wrapping or define textarea max width?

The following 2 issues are occuring in IE:

I've got a grid with a txt column in it. Virtually every row has multiple lines of data in this column. Problem is that some of the lines in a single cell are very long and so the textarea stretches 1500px+ in width to accomidate for the long strings of text. Can i turn on text wrapping and set a max width for my textareas so they dont stretch off the screen?

Another problem is that I have one textarea at the far right of the screen. When you enter edit mode on that column the textarea editor pops up and pushs to the right making the screen wider. is there a way to have the editor popup to the left, thus staying within the width of the page document?

This issue occurs in Firefox:

When you enter edit mode on a textarea the size of the editor box is good, but the left side of the box is transparent so you can see through the editor and onto the grid. If you scroll to the right the contents move left (as they should) and eventually cover up the transparent area. It appears there are two boxes rather than just one. One scrollable area is nested within another scrollable area.
Answer posted by Support on Oct 08, 2008 01:40
>>the lines in a single cell are very long and so the textarea stretches
Issue already fixed in latest build, it will be included in oncoming update. 
If you need the fix ASAP - please contact us directly at support@dhtmlx.com 

>>is there a way to have the editor popup to the left, thus staying within the width of the page document?
With latest update, width of textarea equal to the width of column, so it must not exceed screens limits. 

>> It appears there are two boxes rather than just one. One scrollable area is nested within another scrollable area.
In case of FF, grid generates additional wrapper around textarea to resolve rendering bug in FF, but it must not affect visual presentation. 
While testing locally - issue can't be reconstructed. Can it be that you are using some special skin for FF , which customize appearance of textarea controls?
If issue still occurs for you - please provide any kind of sample where problem can be reconstructed ( you can send it directly to support@dhtmlx.com )
Answer posted by Tim on Aug 30, 2009 10:31
>>is there a way to have the editor popup to the left, thus staying within the width of the page document?
With latest update, width of textarea equal to the width of column, so it must not exceed screens limits.

Was this fixed? I am using standard edition grid v.2.1 build 90226 and am having this same issue. Please tell me what I can do to fix.
Answer posted by dhxSupport on Aug 31, 2009 01:59
This issue fixed and will be available at the next dhtmlxGrid version (2.5)