View Full Version : RowEditor makes an empty column contain "" after editing another column

13 Jun 2011, 11:40 AM
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.