简体   繁体   中英

How can I make my own Scheduler class just like GXT scheduler using GWT and Sencha GXT?

We are trying to make a resource management application in GWT. But we need some kind of scheduler for that. GXT scheduler is a good resource management tool but it is a paid tool. So I was wondering if we could make our own scheduler using GWT and GXT any help would be appreciated

You can implement something similar using a regular DataGrid or a custom DataGrid . Each column in a grid will represent a time slot (day, week or month). You can change background of cells to different colors as needed. The advantage of using a DataGrid is that you can capture various browser events, like clicks on a cell, mouse-over, etc. It also automatically aligns resources with time periods (same row).

DataGrid示例

This is an image from my app, which is a standard DataGrid. I needed dots for this design, but you can use a different CSS to create seamless lines.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM