|
|
@ -122,6 +122,8 @@ function rebuildRegionPointsList(regionId) {
|
|
|
|
showSelectionControls: true,
|
|
|
|
showSelectionControls: true,
|
|
|
|
selectionMode: 'all',
|
|
|
|
selectionMode: 'all',
|
|
|
|
selectByClick: false,
|
|
|
|
selectByClick: false,
|
|
|
|
|
|
|
|
paginate: false,
|
|
|
|
|
|
|
|
pageLoadMode: "scrollBottom",
|
|
|
|
onSelectionChanged() {
|
|
|
|
onSelectionChanged() {
|
|
|
|
rebuildSelectedPointsList(regionPointsWidget.option('selectedItemKeys'));
|
|
|
|
rebuildSelectedPointsList(regionPointsWidget.option('selectedItemKeys'));
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -164,6 +166,8 @@ function rebuildSelectedPointsList(selectedPointsIndexes) {
|
|
|
|
height: 400,
|
|
|
|
height: 400,
|
|
|
|
width: '100%',
|
|
|
|
width: '100%',
|
|
|
|
showScrollbar: 'always',
|
|
|
|
showScrollbar: 'always',
|
|
|
|
|
|
|
|
paginate: false,
|
|
|
|
|
|
|
|
pageLoadMode: "scrollBottom",
|
|
|
|
itemDragging: {
|
|
|
|
itemDragging: {
|
|
|
|
allowReordering: true,
|
|
|
|
allowReordering: true,
|
|
|
|
data: selected,
|
|
|
|
data: selected,
|
|
|
@ -248,6 +252,8 @@ function showTravelPoints(indexes) {
|
|
|
|
showScrollbar: 'always',
|
|
|
|
showScrollbar: 'always',
|
|
|
|
keyExpr: 'ID',
|
|
|
|
keyExpr: 'ID',
|
|
|
|
showBorders: true,
|
|
|
|
showBorders: true,
|
|
|
|
|
|
|
|
pageLoadMode: "scrollBottom",
|
|
|
|
|
|
|
|
paginate: false,
|
|
|
|
itemTemplate(data) {
|
|
|
|
itemTemplate(data) {
|
|
|
|
const result = $('<div>').addClass(data.type).text(data.Waypoint);
|
|
|
|
const result = $('<div>').addClass(data.type).text(data.Waypoint);
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|