Tags

Paramétrer le comportement du clic dans un tableau sous Planisware – clic handler

function IsActivityColumn(slot) { var result = false; var column_name = slot.descriptor.name.tostring(); if(column_name == "WBS-ELEMENT") { result = true; } return result; } function DisplayAllocationActivityForm(slot) { if(IsActivityColumn(slot)) { var my_act = this.Activity; //Define link var link = new hyperlink ("fformula","formula",my_act.printattribute(),"editortype","XXX_RE_FORM_ACT","popup",true); //Open link If(link != undefined) { link.go("useless"); } } } this.grid.AddClickHandler("DisplayAllocationActivityForm");

Lire la suite…