Announcement
Collapse
No announcement yet.
X
-
As you say, this doesn't happen when tested in the Showcase. That means you should update to a more recent build, since yours is more than two years old.
-
Dropped data is not selected automatically (Drag and drop between two list grids)
I am trying to achieve this kind of drag and drop - https://www.smartclient.com/smartcli...DDdragListMove
Once dropping a record/s to the second LG, the record/s should be marked (selected) on the second LG.
The problem is - the records are not marked as selected.
Note -
1. If you pass the record back to its origin LG, the record will be marked as selected.
Also, it only happens when -
selectionType: "multiple"
2. When copying my code to the showcase view window, it doesn't happen.
VIDEO OF THE BUG:
https://streamable.com/5jth2
My Code:
Code:isc.ListGrid.create({ ID: "myList13", width: 150, minHeight: "300", alternateRecordStyles: true, showHeader: false, leaveScrollbarGap: false, selectionType: "multiple", canDragRecordsOut: true, canAcceptDroppedRecords: true, canReorderRecords: true, dragDataAction: "move", defaultFields: [ { name: "partName" }, { name: "partNum" } ], data: [ { partName: "Blue", partNum: 1 }, { partName: "Yellow", partNum: 2 }, { partName: "Green", partNum: 3 }, { partName: "Blue", partNum: 4 }, { partName: "Yellow", partNum: 5 }, { partName: "Green", partNum: 6 }, { partName: "Blue", partNum: 7 }, { partName: "Yellow", partNum: 8 }, { partName: "Green", partNum: 9 } ] })
Code:isc.ListGrid.create({ ID: "myList123", width: 150, minHeight: "300", selectionType: "multiple", alternateRecordStyles: true, showHeader: false, leaveScrollbarGap: false, fields: [ { name: "partName" }, { name: "partNum"} ], canDragRecordsOut: true, canAcceptDroppedRecords: true, canReorderRecords: true, dragDataAction: "move" })
Last edited by NF; 5 Sep 2018, 06:21.Tags: None
Leave a comment: