Hello,
I'm trying to use getChanges as a propertygrid method.
Making the changes and the result of getChanges are all rows, except the first one. Why does this happen? If I double-click on the first cell, it returns the correct value, while with getChanges the first line is ignored.
I have 20 rows into propertygrid
Here is my code:
$('#details').propertygrid('appendRow', {
name: "Name 1",
value: result.name1,
group: "Details"
});
$('#details').propertygrid('appendRow', {
name: "Name 2",
value: result.name2,
group: "Details"
});
$('#details').propertygrid('appendRow', {
name: "Name 3",
value: result.name3,
group: "Details",
editor: 'text'
});
$('#details').propertygrid('appendRow', {
name: "Name 4",
value: result.name4,
group: "Details"
}); ......
$('#saveModify').linkbutton({
iconCls: 'icon-save',
disabled: false,
onClick: function () {
var rows = $('#details').propertygrid('getChanges');
alert(rows);
}
});
Thanks soo much.