Pure JS spreadsheet control SpreadJS new version - launch a new Gantt chart plug-in

SpreadJS is a pure front-end table control launched by combining more than 40 years of professional control technology and experience in the field of spreadsheet applications. It is based on HTML5 and is compatible with more than 450 Excel formulas. It has the product features of "high performance, cross-platform, and high compatibility with Excel". It is favored by well-known companies such as Huawei, Mingyuan Cloud, and Yuanguang Software, and has been recognized as "China's Excellent Software Product" by the China Software Industry Association. SpreadJS is highly similar to Excel in terms of interface and function, but it is not limited to Excel. Instead, it provides application scenario support for collaborative editing of table documents, data filling and Excel-like report design for enterprise information systems, which greatly reduces enterprise R&D costs. and project delivery risks.

SpreadJS v16.0 Update1 official version download

Gantt chart is a new plug-in of SpreadJS pure front-end table control, which can convert tabular data such as engineering project management, budget execution and production planning in business scenarios into a more intuitive Gantt chart mode. As a special "Sheet", the Gantt chart can be seamlessly integrated into the existing tables, so that the data can be visualized and displayed, and at the same time, the plan implementation can be displayed more intuitively. The specific effect can be seen in the figure below:

SpreadJS Gantt Chart Atlas

The SpreadJS Gantt chart plugin has the following functions:
1. Display attribute data in the form of Gantt chart

Based on the underlying data model of SpreadJS, the Gantt chart plug-in can display tree data in the form of Gantt chart tables and charts, and supports data containing ID, Level and Children data structures.

// the id-parentId structure
schema: {
hierarchy: {
type: "Parent",
column: "parentId"
},
columns: {
id: { isPrimaryKey: true }, // the primary key is required in Id-ParentId type, so that we could build the hierarchy tree nodes
taskNumber: { dataType: "rowOrder" } // the row order is required in Id-ParentId type, to make sure the you could update the correct data
}
}

// the level structure
schema: {
hierarchy: {
type: "Level",
column: "level"
}
}

// the children tree structure
schema: {
hierarchy: {
type: "ChildrenPath",
column: "children"
}
}
2. Support different levels of zoom display for the Gantt chart area

The SpreadJS Gantt chart plug-in supports different levels of zoom display, which can easily display work schedules by week, day, hour, etc.

SpreadJS Gantt Chart Atlas

3. Support scrolling according to different units

As shown in the figure below, different scroll settings are supported:

SpreadJS Gantt Chart Atlas

4. Objects in the chart can be customized

According to actual needs, each Task Bar can be customized and displayed for emphasis or other special meanings.

SpreadJS Gantt Chart Atlas

5. Configurable calendar

The SpreadJS Gantt chart plug-in can configure working days, working time range, etc. to adapt to the actual needs of different projects.

SpreadJS Gantt Chart Atlas

6. Support saving as SSJSON / SJS / Excel / PDF, and support printing function

SpreadJS Gantt Chart Atlas

The content of this article comes from Grape City

Guess you like

Origin blog.csdn.net/AABBbaby/article/details/132556018