客户端专用 甘特图控件类 CLuaGantUtil
使用说明
bool SetGant(const string& sDialogName, const string &cid);
int setDateRange(const string& sFrom, const string& sTo);
bool setGridHelp(CSelectHelp& help);
bool setTaskHelp(CSelectHelp& help, bool bClean = true);
bool addTask(const string& sTaskID, const string& sGridID, const string& sStartTime, const string& sEndTime, const string& sText, unsigned int iColor);
bool setTask(const string& sTaskID, CIntent& itPara);
bool deleteTask(const string& sTaskID);
void cleanTask();
bool setCurrentTask(const string& sTaskID);
bool setGridColWidth(int iCol, int iWidth, const string& sFieldName = "");
bool setGridWidth(int iWidth);
bool setColCheckDelegate(int iCol, bool bEnable);
int getGridHelp(CSelectHelp& help);
string getSelectedGridID();
string getSelectedTask();
int getSelectedTasks(CSelectHelp& helpCur);
int getSelectedGanttCell(CTNString& sGridID, CTNString& sDate);