1. #1
    Ext JS Premium Member mother's Avatar
    Join Date
    May 2010
    Barcelona, Spain
    Vote Rating
    mother is on a distinguished road


    Default RowEditor makes an empty column contain "" after editing another column

    RowEditor makes an empty column contain "" after editing another column

    Hi all,

    I have a grid where the last column contains no data, eg
                    name: 'abcd',
                    address: 'efg',
                    email: 'a@b.com',
                    freetime: 0.5,
                    tags: ''
    Once I edit a column using the RowEditor plugin, and for example, change name to 'defg', the name column field is marked 'dirty' as expected, but so is the tags field, where I made no changes. Dumping the content of the store before results in:

    (an empty string)
    and after the edit:

    It appears RowEditor modifies the field even if it's empty. Is there a way to fix this behavior?

    Update: investigating further, the strings when the store is created are zero-length, but after 'Update' is clicked on RowEditor, the length of the tags field is now one. I haven't been able to determine what this single character is, but I'm guessing \0.

    Last edited by mother; 13 Jun 2011 at 12:37 PM. Reason: Added some extra info.
    When the going gets tough, the tough get Chuck Norris.

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."