Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Bug Report: TreeGrid edit in dataFetchMode: "paged"

$
0
0
Hi,

problem occurs for TreeGrids with dataFetchMode set to 'paged'.

After the data is updated, the TreeGrid gets scrambled for all rows below the edited one.

Smart Client: v100p_2015-01-10_LGPL
Browser Chrome: 39.0.2171.95 (64-bit)

It is easy to reproduce in your own sample:

http://www.smartclient.com/docs/10.0/a/system/reference/SmartClient_Explorer.html#pagingForChildren

Steps to reproduce:

1. Add 2 lines of cade to the sample in "pagingForChildren.js" tab:
Code:

    canEdit:true,
    autoSaveEdits:true,

2. Push "Try it"
3. Double click and edit any record
4. Press Enter
5. After row is saved the TreeGrid gets scrambled.

I was able to verify that the problem is with the underlying ResultTree object rather than TreeGrid itself.
myTreeGrid.data.getRange(start,end) returns empty array after data has been updated.

Please let me know in case of any questions.

Best Regards,
Adam Kaczmarek

Viewing all articles
Browse latest Browse all 4756

Trending Articles