You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Sets the dates that will be selected. Selected dates are styled differently than the rest. The dates can be Date objects or strings in a valid date format.
@@ -397,7 +397,7 @@ class Calendar extends React.Component {
397
397
}
398
398
}
399
399
/** Sets the dates that will be selected. Selected dates are styled differently than the rest. The dates can be Date objects or strings in a valid date format.
/** Sets the dates that will be selected. Selected dates are styled differently than the rest. The dates can be Date objects or strings in a valid date format.
@@ -118,6 +124,11 @@ export declare class GanttChart extends React.Component<React.HTMLProps<Element>
118
124
*/
119
125
getheaderTemplate(): any;
120
126
setheaderTemplate(value: any);
127
+
/** By default the Timeline has a two level header - timeline details and timeline header. This property hides the header details container( the top container ).
128
+
* Property type: boolean
129
+
*/
130
+
gethideTimelineHeaderDetails(): boolean;
131
+
sethideTimelineHeaderDetails(value: boolean);
121
132
/** Hides the Resource panel regardless of the resources availability By default the Resource panel is visible if resources are added to the GanttChart. This property allows to hide the Resource panel permanently.
122
133
* Property type: boolean
123
134
*/
@@ -178,6 +189,11 @@ export declare class GanttChart extends React.Component<React.HTMLProps<Element>
178
189
*/
179
190
getpopupWindowCustomizationFunction(): any;
180
191
setpopupWindowCustomizationFunction(value: any);
192
+
/** A format function for the Timeline task progress label. The expected result from the function is a string. The label is hidden by default can be shown with the showProgressLabel property.
193
+
* Property type: any
194
+
*/
195
+
getprogressLabelFormatFunction(): any;
196
+
setprogressLabelFormatFunction(value: any);
181
197
/** A getter that returns a flat structure as an array of all resources inside the element.
182
198
* Property type: GanttChartResource[]
183
199
*/
@@ -233,6 +249,11 @@ export declare class GanttChart extends React.Component<React.HTMLProps<Element>
233
249
*/
234
250
getselectedIndexes(): number[];
235
251
setselectedIndexes(value: number[]);
252
+
/** Shows the progress label inside the progress bars of the Timeline tasks.
253
+
* Property type: boolean
254
+
*/
255
+
getshowProgressLabel(): boolean;
256
+
setshowProgressLabel(value: boolean);
236
257
/** If set the dateStart/dateEnd of the tasks will be coerced to the nearest timeline cell date ( according to the view ). Affects the dragging operation as well.
237
258
* Property type: boolean
238
259
*/
@@ -283,7 +304,7 @@ export declare class GanttChart extends React.Component<React.HTMLProps<Element>
283
304
*/
284
305
gettreeSize(): any;
285
306
settreeSize(value: any);
286
-
/** A format function for the Header of the Timeline.
307
+
/** A format function for the Header of the Timeline. The function provides the following arguments: date - a Date object that represets the date for the current cell.type - a string that represents the type of date that the cell is showing, e.g. 'month', 'week', 'day', etc.isHeaderDetails - a boolean that indicates whether the current cell is part of the Header Details Container or not.value - a string that represents the default value for the cell provided by the element.
287
308
* Property type: any
288
309
*/
289
310
gettimelineHeaderFormatFunction(): any;
@@ -319,12 +340,43 @@ export declare class GanttChart extends React.Component<React.HTMLProps<Element>
319
340
getunfocusable(): boolean;
320
341
setunfocusable(value: boolean);
321
342
getproperties(): string[];
343
+
/** This event is triggered when a batch update was started after executing the beginUpdate method.
/** This event is triggered when a batch update was ended from after executing the endUpdate method.
347
+
* @param event. The custom event. */
348
+
onEndUpdate?: ((event?: Event)=>void)|undefined;
322
349
/** This event is triggered when a Task is selected/unselected.
323
350
* @param event. The custom event. Custom event was created with: event.detail( value, oldValue)
324
351
* value - The index of the new selected task.
325
352
* oldValue - The index of the previously selected task.
326
353
*/
327
354
onChange?: ((event?: Event)=>void)|undefined;
355
+
/** This event is triggered when a task, resource or connection is clicked inside the Timeline or the Tree columns.
356
+
* @param event. The custom event. Custom event was created with: event.detail( item, type, originalEvent)
357
+
* item - The item that was clicked. It cam be a task, resource or connection.
358
+
* type - The type of item. Possible values are: 'task', 'resource', 'connection'.
359
+
* originalEvent - The original DOM event.
360
+
*/
361
+
onItemClick?: ((event?: Event)=>void)|undefined;
362
+
/** This event is triggered when a Task/Resource/Connection is inserted.
363
+
* @param event. The custom event. Custom event was created with: event.detail( type, item)
364
+
* type - The type of item that has been modified.
365
+
* item - An object that represents the actual item with it's attributes.
366
+
*/
367
+
onItemInsert?: ((event?: Event)=>void)|undefined;
368
+
/** This event is triggered when a Task/Resource/Connection is removed.
369
+
* @param event. The custom event. Custom event was created with: event.detail( type, item)
370
+
* type - The type of item that has been modified.
371
+
* item - An object that represents the actual item with it's attributes.
372
+
*/
373
+
onItemRemove?: ((event?: Event)=>void)|undefined;
374
+
/** This event is triggered when a Task/Resource/Connection is updated.
375
+
* @param event. The custom event. Custom event was created with: event.detail( type, item)
376
+
* type - The type of item that has been modified.
377
+
* item - An object that represents the actual item with it's attributes.
378
+
*/
379
+
onItemUpdate?: ((event?: Event)=>void)|undefined;
328
380
/** This event is triggered when the progress of a task bar starts to change as a result of user interaction. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
329
381
* @param event. The custom event. Custom event was created with: event.detail( index, progress)
330
382
* index - The index of the task which progress is going to be changed.
@@ -486,21 +538,36 @@ export declare class GanttChart extends React.Component<React.HTMLProps<Element>
486
538
* @returns {any[]}
487
539
*/
488
540
getState(): Promise<any>;
541
+
/** Returns the Tree path of a task/resource.
542
+
* @param {GanttChartTask | GanttChartResource | number} item. A GattChartTask/GanttChartResource item object or index.
* @param {string | number} index. A number that represents the index of a task or a string that matches the hierarchical position of the item, e.g. '0' ( following jqxTree syntax).
591
+
* @param {any} index. A number that represents the index of a task or a string that matches the hierarchical position of the item, e.g. '0' ( following jqxTree syntax).
525
592
* @param {any} taskObject. An object describing a Gantt Chart task. The properties of this object will be applied to the desired task.
* @param {string | number} index. A number that represents the index of a task or a string that matches the hierarchical position of the item, e.g. '0' ( following jqxTree syntax).
596
+
* @param {any} index. A number that represents the index of a task or a string that matches the hierarchical position of the item, e.g. '0' ( following jqxTree syntax).
530
597
*/
531
-
removeTask(index: string|number): void;
598
+
removeTask(index: any): void;
532
599
/** Inserts a new resource.
533
600
* @param {string | number} resourceId. A string that represents the id of a resource or it's hierarchical position, e.g. '0' ( following jqxTree syntax), or a number that represents the index of a resource.
534
601
* @param {any} resourceObject?. An object describing a Gantt Chart resource.
0 commit comments