Please help me!!
When you run the source code below, takes about 20 minutes of time.
Is there a way to shorten the time?
private Infragistics.Win.UltraWinGanttView.UltraGanttView _gantt;
FOR (int i = 0 ; 1000 ; i++)
{
_gantt.CalendarInfo.Tasks[i].SetCustomProperty("CUSTOM_01", "1111");
_gantt.CalendarInfo.Tasks[i].SetCustomProperty("CUSTOM_02", "2222");
_gantt.CalendarInfo.Tasks[i].SetCustomProperty("CUSTOM_03", "3333");
_gantt.CalendarInfo.Tasks[i].SetCustomProperty("CUSTOM_04", "4444");
_gantt.CalendarInfo.Tasks[i].SetCustomProperty("CUSTOM_05", "5555");
_gantt.CalendarInfo.Tasks[i].SetCustomProperty("CUSTOM_06", "6666");
_gantt.CalendarInfo.Tasks[i].SetCustomProperty("CUSTOM_07", "7777");
_gantt.CalendarInfo.Tasks[i].SetCustomProperty("CUSTOM_08", "8888");
_gantt.CalendarInfo.Tasks[i].SetCustomProperty("CUSTOM_09", "9999");
_gantt.CalendarInfo.Tasks[i].SetCustomProperty("CUSTOM_10", "AAAA");
_gantt.CalendarInfo.Tasks[i].SetCustomProperty("CUSTOM_11", "BBBB");
_gantt.CalendarInfo.Tasks[i].SetCustomProperty("CUSTOM_12", "CCCC");
_gantt.CalendarInfo.Tasks[i].SetCustomProperty("CUSTOM_13", "DDDD");
}
Hello,
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
I do not think there is any other way to do this. The code you have is executing slow and the control cannot do anything about it.
If you describe your final goal and requirements, I might be able to create a sample based on them and attach it here for you.
Task more than 1,000 Records should be represented.
The number of CustomColumn 13.
If you bind the the data using "SetCustomProperty" CustomColumn speed Is too slow.
I was wondering if you have any other way.
It is hard for me to understand what is happening exactly in this sample. Why are you making so many loops? The control cannot initialize since the 'InitializeTaskGridRow' event is firing many times, performing the code you have written. I believe that this is the expected behavior given the amount of data and the performed actions. If you are saying that there might be an issue with the control I am going to need a much simpler sample. If you want me to make an example with a sample of my own, please let me know of your final goal and your requirements.
Here is a sample.
This is a only sample, not live data.
Live data is larger than the sample.
Please solve this problem.
I'll wait.