@@ -777,41 +777,41 @@ GanttChartCompBase = class extends GanttChartCompBase {
777777 }
778778} ;
779779
780- GanttChartCompBase = withMethodExposing ( GanttChartCompBase , [
781- {
782- method : {
783- name : "setData" ,
784- description : "Set Gantt Chart Data" ,
785- params : [
786- {
787- name : "data" ,
788- type : "JSON" ,
789- description : "JSON value" ,
790- } ,
791- ] ,
792- } ,
793- execute : ( comp : any , values : any [ ] ) => {
794- const newTasks = values [ 0 ] ;
795- comp . children . data . dispatchChangeValueAction ( JSON . stringify ( newTasks , null , 2 ) ) ;
796- } ,
797- } ,
798- {
799- method : {
800- name : "getData" ,
801- description : "Get Gantt Chart Data" ,
802- params : [
803- {
804- name : "data" ,
805- type : "JSON" ,
806- description : "JSON value" ,
807- } ,
808- ] ,
809- } ,
810- execute : ( comp : any ) => {
811- comp . children . updatedData . getView ( )
812- } ,
813- } ,
814- ] ) ;
780+ // GanttChartCompBase = withMethodExposing(GanttChartCompBase, [
781+ // {
782+ // method: {
783+ // name: "setData",
784+ // description: "Set Gantt Chart Data",
785+ // params: [
786+ // {
787+ // name: "data",
788+ // type: "JSON",
789+ // description: "JSON value",
790+ // },
791+ // ],
792+ // },
793+ // execute: (comp: any, values: any[]) => {
794+ // const newTasks = values[0];
795+ // comp.children.data.dispatchChangeValueAction(JSON.stringify(newTasks, null, 2));
796+ // },
797+ // },
798+ // {
799+ // method: {
800+ // name: "getData",
801+ // description: "Get Gantt Chart Data",
802+ // params: [
803+ // {
804+ // name: "data",
805+ // type: "JSON",
806+ // description: "JSON value",
807+ // },
808+ // ],
809+ // },
810+ // execute: (comp: any) => {
811+ // comp.children.updatedData.getView()
812+ // },
813+ // },
814+ // ]);
815815
816816export default withExposingConfigs ( GanttChartCompBase , [
817817 new NameConfig ( "data" , trans ( "component.data" ) ) ,
0 commit comments