Hi.
I have an issue with TreeGrid. If I grab a top level record and drop it on the empty area in TreeGrid body, I get an error message about conflicting names, which should be irrelevant.
I have made an example and checked it with SmartClient 2011-04-14 nightly build.
Drag the "first" record and drop it below the last record.
Expected: the record is moved to the end of the list.
Result: Error message. Also, a warning in developer console:
I have an issue with TreeGrid. If I grab a top level record and drop it on the empty area in TreeGrid body, I get an error message about conflicting names, which should be irrelevant.
I have made an example and checked it with SmartClient 2011-04-14 nightly build.
Code:
var tree = Tree.create({
data: [
{ title: "First", children: [
{ title: "Second" },
] },
{ title: "Third", children: [] },
]
});
var grid = TreeGrid.create({
left: 50,
top: 50,
width: 500,
height: 275,
canReorderRecords: true,
canReparentNodes: true,
fields: [
{ name: "title", title: "Title" },
],
data: tree,
});
tree.openAll();
Expected: the record is moved to the end of the list.
Result: Error message. Also, a warning in developer console:
Code:
15:27:14.951:MUP7:INFO:TreeGrid:isc_TreeGrid_0:already a child named: 0_1 under parent:
Comment