Results 1 to 2 of 2

Thread: Text Area inside propertyGrid

  1. #1

    Default Text Area inside propertyGrid


    I have address column in in PropertyGrid.

    If edit the property grid and we enter address like this.

    Abc Company,
    Place- 10001-pin.

    The PropertyGrid is showing this value in one line like this.

    Abc Company,Address-line1,..

    I have increased the row hight for Address, Still it is displaying it one line.
    Note: when i click the cell for edit thru TextArea, it displays again.

    I know i have to fix this thru render function. But i don't know how to do it.

    I can see same behaviour in EditorGridPanel too.


  2. #2


    I got this working. Thanks.

     customRenderers: {
            		var res = '';
            		var ch = '';
            		if(v && v.length > 0){
            			for(var i=0;i<v.length;i++){
            				ch = v.charAt(i);
            				if(ch == '\n')
            					res += '<br>';
            					res += ch; 
            		return res;

Similar Threads

  1. TreeGrid with text area
    By raghavankr in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 15 Dec 2010, 12:58 AM
  2. Replies: 6
    Last Post: 23 Nov 2010, 12:57 PM
  3. Replies: 7
    Last Post: 27 Jun 2010, 9:35 PM
  4. Rich text for Text Area
    By innek81 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 10 Jun 2010, 10:31 PM
  5. Blank Text in text Area
    By MuffinBoy in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 11 Jun 2009, 11:46 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts