Migrate easily thanks to the compatibility of ScheduleJS
public API with the FlexGanttFX API for Typescript Gantt librairy
SAME NAME OF THE MODEL CLASSES
SAME METHODS AND PARAMETERS
SAME GENERIC TYPING CAPABILITIES
| FlexGanttFX Implementation | ScheduleJS Implementation | |
|---|---|---|
| Iterators | Some methods are returning Java Iterators | Same API returns Javascript Arrays |
| Constructors | Some classes have multiple constructors with different sets of parameters | In Typescript, it is only possible to have one constructor per class but Typescript allows to use default arguments |
| Time management | Java Instant class are used to represent all timings | Javascript "number" are used to represent all timings. We are using JodaJs specific library to manage timezone conversions and formatting to obtain texts |
| Method overriding | Java allows to define multiple methods with the same name when using different sets of parameters | In Typescript, it is not possible to define multiple methods with the same name. Default arguments allow to mitigate this limitation but some methods had to be named differently for specific implementations |
| JavaFX ObservableList | In some cases FlexGanttFX is using ObservableList | In ScheduleJS, in most of the cases, the function returns an array |
| JavaFX Properties | In FlexGanttFX, most of the elements of the framework that can be customized by the developers are exposed as JavaFx Properties objects. These properties are used to allow the framework to automatically take into account the new values and redraw the screen automatically | In ScheduleJS, after updating a property, the developer will need to ask the framework to redraw the screen |
The TypeScript Gantt librairy superset implements mandatory types in JavaScript. The ScheduleJS syntax is in fact as close as it can get to its FlexGanttFX counterpart. We managed to smoothly translate all the existing FlexGanttFX APIs to preserve the framework flexibility and ease of use.
The TypeScript code main role is to handle data structures and interactions within the graphics. The following example shows how to implement a simple aircraft Gantt library from scratch in both FlexGanttFX and ScheduleJS.
Check out the differences between those two blocks of code: it is minimal!
ScheduleJS is a powerful library composed of HTML, JavaScript, and CSS. It offers a comprehensive set of high-value components designed to customize your graphics extensively. This allows developers to create exceptional UI/UX experiences by leveraging both the capabilities of modern web technologies and the unique components provided by ScheduleJS. It serves as an excellent TypeScript Gantt library, enabling the creation of dynamic and visually appealing project timelines and schedules.
The ScheduleJS renderer architecture mirrors that of its FlexGanttFX counterpart. Given the close design similarities between the HTML Canvas API and the JavaFX Canvas API, all your FlexGanttFX renderers can be migrated seamlessly to ScheduleJS with minimal effort and time. This makes ScheduleJS an ideal TypeScript Gantt library for efficiently transitioning existing projects.
© Copyright 2026 – Site Map – All rights reserved – Privacy Policy – Terms of use – Cookies Policy – AISO SA