Question
I am finding Virtual load difficult to use in my project, may be due to lack of knowledge regarding the working of phGantt Chart Virtual View. I am handling task management using the phGantt Chart. Following is the data structure that I have used for managing tasks internally.< ?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Class CTask
{
CString m_strTaskName;
COleDateTime m_dtStartDate;
COleDateTime m_dtDueDate;
// …. More declarations goes here
CTaskList m_SubtaskList; // Sub nodes
};
Q1) How and when do I associate CTask* as UserVariant Reference for the nodes?
Q2) I tried using AddDataEntityTree() method for adding subnodes on the callback function? Can’t get it? An example would be appreciable?
Answer