Skip to content

Commit 63f7d52

Browse files
author
sowvikr
committed
Fixes #6
1 parent d84aacf commit 63f7d52

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

projects/angular-open-datagrid/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-open-datagrid",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"license": "(MIT)",
55
"homepage": "https://github.com/sowvikr/angular-open-datagrid-lilb",
66
"bugs": {

projects/angular-open-datagrid/src/lib/data-table/data-table.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
</th>
7373
</tr>
7474
</thead>
75+
<!--(cdkDropListDropped)="dropRow($event)"-->
7576
<tbody (click)="onContextMenuOff()" tabindex="0" ctrlKeys
7677
(ctrlC)="onCtrlC()"
7778
(ctrlV)="onCtrlV()" cdkDropList (cdkDropListDropped)="dropRow($event)">
@@ -132,7 +133,7 @@
132133
(mousedown)="onDragStart(rowCount, columnCount,$event)"
133134
(mouseover)="onSelecting(rowCount, columnCount, cell, $event)"
134135
(mouseup)="onDragEnd(rowCount, columnCount, $event)"
135-
[ngStyle]="{'width':columnDefs[columnCount].width, transform:isMoving? Moved[columnCount]:'inherit'}"
136+
[ngStyle]="{'width':columnDefs[columnCount].width, transform:isMoving? Moved[columnCount]:'none'}"
136137
[ngClass]="{'column-moving':(isMoving&&(Moved[columnCount]!==undefined))}"
137138
oncontextmenu="return false;">
138139
<app-inline-edit

projects/angular-open-datagrid/src/lib/data-table/data-table.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,11 @@ export class DataTableComponent implements OnInit {
441441
this.selectAllRows = false;
442442

443443
}
444+
dragMoved($event){
445+
setTimeout(function(){
446+
debugger;
447+
},2000);
448+
}
444449

445450
valueChanged(changeValue:any) {
446451
this.TableRows[changeValue.row].data[changeValue.column] = changeValue.value;

0 commit comments

Comments
 (0)