border
parent
ca513c5300
commit
d5440216d2
|
|
@ -72,8 +72,8 @@ export class NttGanttComponent implements OnInit {
|
||||||
/**############################### Default Variables /**###############################*/
|
/**############################### Default Variables /**###############################*/
|
||||||
|
|
||||||
public range = new FormGroup({
|
public range = new FormGroup({
|
||||||
start: new FormControl<Date | null>(new Date('12/01/2022')),
|
start: new FormControl<Date | null>(new Date('12/01/2023')),
|
||||||
end: new FormControl<Date | null>(new Date('01/31/2024')),
|
end: new FormControl<Date | null>(new Date('01/31/2025')),
|
||||||
});
|
});
|
||||||
|
|
||||||
public data: any[] = [];
|
public data: any[] = [];
|
||||||
|
|
@ -82,8 +82,8 @@ export class NttGanttComponent implements OnInit {
|
||||||
public userSupportGroup: string;
|
public userSupportGroup: string;
|
||||||
public taskSettings: object = {};
|
public taskSettings: object = {};
|
||||||
public labelSettings: object = {};
|
public labelSettings: object = {};
|
||||||
public projectStartDate: Date = new Date('12/01/2022');
|
public projectStartDate: Date = new Date('12/01/2023');
|
||||||
public projectEndDate: Date = new Date('01/31/2024');
|
public projectEndDate: Date = new Date('01/31/2025');
|
||||||
public resourceFields: object ={};
|
public resourceFields: object ={};
|
||||||
public editSettings: object = {};
|
public editSettings: object = {};
|
||||||
public tooltipSettings: object ={};
|
public tooltipSettings: object ={};
|
||||||
|
|
@ -770,14 +770,16 @@ export class NttGanttComponent implements OnInit {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public queryTaskbarInfo(args: any) {
|
public queryTaskbarInfo(args: any) {
|
||||||
if (args.taskbarType == 'Milestone')
|
|
||||||
{
|
|
||||||
args.taskbarElement.children[1].classList.add('e-gantt-milestone-border');
|
|
||||||
}
|
|
||||||
|
|
||||||
if(args.data.taskData.isRes == false){
|
if(args.data.taskData.isRes == false){
|
||||||
if(args.data.taskData.TaskID.includes("D2")){
|
if(args.data.taskData.TaskID.includes("D2")){
|
||||||
args.milestoneBorder = "black";
|
//args.milestoneBorder = "black";
|
||||||
|
if (args.taskbarType == 'Milestone')
|
||||||
|
{
|
||||||
|
args.taskbarElement.children[1].classList.add('e-gantt-milestone-border');
|
||||||
|
}
|
||||||
|
|
||||||
//console.log(args.taskbarElement);
|
//console.log(args.taskbarElement);
|
||||||
if (args.data.taskData.resources[0].state == 0 ) {
|
if (args.data.taskData.resources[0].state == 0 ) {
|
||||||
args.milestoneColor = "#f83200";
|
args.milestoneColor = "#f83200";
|
||||||
|
|
|
||||||
|
|
@ -18,12 +18,12 @@
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.e-selectionbackground {
|
/* .e-selectionbackground {
|
||||||
background-color: #E0E0E0 !important;
|
background-color: #E0E0E0 !important;
|
||||||
}
|
}
|
||||||
.e-gantt .e-gantt-chart .e-active {
|
.e-gantt .e-gantt-chart .e-active {
|
||||||
background-color: #E0E0E0 !important;
|
background-color: #E0E0E0 !important;
|
||||||
}
|
} */
|
||||||
|
|
||||||
/* .e-gantt-milestone-border {
|
/* .e-gantt-milestone-border {
|
||||||
border: 2px solid red !important;
|
border: 2px solid red !important;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue