removed horizontal scrolling

main
Said Gedik 2024-05-15 12:59:07 +02:00
parent 430619e622
commit 5875322682
3 changed files with 538 additions and 531 deletions

View File

@ -4,3 +4,7 @@
opacity: 0.9; opacity: 0.9;
filter: alpha(opacity = 90); filter: alpha(opacity = 90);
} }
body, html {
overflow-x: hidden;
}

View File

@ -210,7 +210,7 @@
} }
.clearFilter:hover { .clearFilter:hover {
background-color: rgba(255, 255, 255, 0.729); background-color: rgba(255, 255, 255, 0.804);
} }

View File

@ -281,11 +281,13 @@ export class NttGanttComponent implements OnInit {
this.columns = [ this.columns = [
{ field: 'TaskName', headerText: 'Kurzbeschreibung', width: 350 }, { field: 'TaskName', headerText: 'Kurzbeschreibung', width: 350 },
{ field: 'stateName', headerText: 'Status', width: 350}, { field: 'stateName', headerText: 'Status', width: 250 },
{ field: 'vertragName', headerText: 'Vertrag / Provider Cluster', width: 150 },
{ field: 'supportGroup', headerText: 'Gewählte Support Gruppe' },
{ field: 'StartDate', headerText: 'Geplantes Start-Datum', format : {type:'date', format:'dd.MM.yyyy'}},
{ field: 'plantime', headerText: 'Planzeit in H', width: 100 }, { field: 'plantime', headerText: 'Planzeit in H', width: 100 },
{ field: 'StartDate', headerText: 'Geplantes Start-Datum', format: { type: 'date', format: 'dd.MM.yyyy' } },
{ field: 'vertragName', headerText: 'Vertrag / Provider Cluster', width: 150 },
// { field: 'supportGroup', headerText: 'Gewählte Support Gruppe' },
{ field: 'changeNr', headerText: 'Change Nummer', width: 200 } { field: 'changeNr', headerText: 'Change Nummer', width: 200 }
]; ];
@ -321,9 +323,11 @@ export class NttGanttComponent implements OnInit {
this.showSaveButton = false; this.showSaveButton = false;
this.showSaveUnderButton = false; this.showSaveUnderButton = false;
this.dataService.savePreset(preset).then((res)=>{{ this.dataService.savePreset(preset).then((res) => {
{
console.log(res); console.log(res);
}}) }
})
} }
public updatePreset() { public updatePreset() {
this.showSaveButton = false; this.showSaveButton = false;
@ -596,7 +600,7 @@ export class NttGanttComponent implements OnInit {
filter: this.filterEnabled ? this.filters : { filterElement: [{ column: "SupportGroup", filter: "equals", criteria: [this.userSupportGroup] }] }, filter: this.filterEnabled ? this.filters : { filterElement: [{ column: "SupportGroup", filter: "equals", criteria: [this.userSupportGroup] }] },
sort: this.sortEnabled ? this.sort : { sort: this.sortEnabled ? this.sort : {
'column': 'ChangeNr', 'column': 'ChangeNr',
        'mode': 'asc' 'mode': 'asc'
}, },
} }
console.log("\nrequest") console.log("\nrequest")
@ -877,8 +881,7 @@ export class NttGanttComponent implements OnInit {
*/ */
public queryTaskbarInfo(args: any) { public queryTaskbarInfo(args: any) {
if (args.taskbarType == 'Milestone' && args.data.taskData.TaskID.includes("D2")) if (args.taskbarType == 'Milestone' && args.data.taskData.TaskID.includes("D2")) {
{
if (args.data.taskData.isFixed == false) { if (args.data.taskData.isFixed == false) {
args.taskbarElement.children[1].classList.add('e-gantt-milestone-border1'); args.taskbarElement.children[1].classList.add('e-gantt-milestone-border1');
} else { } else {