Hi,
Because I am using the Gantt viewer in a real world situation whereby multiple projects are stored in one table I am finding that the ID column cannot be used within the chart. Ideally I'd like to use an ID column for the chart that is essentially the Row ID starting from 1.
Is there a way to do this as it stands?
I'd really prefer to avoid using the Custom EntityFramework Provider as it seems horribly overcomplicated and when I did try it just didn't work.
Without wanting to sound rude, this control still seems like a Beta control, examples are basic, documentation is missing, critical functionality is missing etc. It's really off putting seeing that it is now considered to be a live control with the implication that like other controls it will now be left to stagnate.
I really want to use this kind of thing in my application but am left feeling that I'd really be better off with a commercial Gantt viewer even with only rudimentary requirements...
Regards
Jon
Because I am using the Gantt viewer in a real world situation whereby multiple projects are stored in one table I am finding that the ID column cannot be used within the chart. Ideally I'd like to use an ID column for the chart that is essentially the Row ID starting from 1.
Is there a way to do this as it stands?
I'd really prefer to avoid using the Custom EntityFramework Provider as it seems horribly overcomplicated and when I did try it just didn't work.
Without wanting to sound rude, this control still seems like a Beta control, examples are basic, documentation is missing, critical functionality is missing etc. It's really off putting seeing that it is now considered to be a live control with the implication that like other controls it will now be left to stagnate.
I really want to use this kind of thing in my application but am left feeling that I'd really be better off with a commercial Gantt viewer even with only rudimentary requirements...
Regards
Jon
6 Answers, 1 is accepted
0
Hello Jon,
Could you elaborate a bit more on the scenario where you need to use the RowID. For what binding scenario you need such ID?
As for the custom Entity Framework Provider - please specify what exactly doesn't work at your? Do you encountered any exception or simply the binding is not correctly applied? As demonstrated in our help article below, you should simply create a custom class for the provider and then implement the Get, Update, Delete and Insert methods with the help of the mapped tables and objects from the Entity Framework model. Finally, you should provide the RadGantt control with the newly created custom provider at the Page_Load.
http://www.telerik.com/help/aspnet-ajax/gantt-providers-customentityprovider.html
Regards,
Nencho
Telerik
Could you elaborate a bit more on the scenario where you need to use the RowID. For what binding scenario you need such ID?
As for the custom Entity Framework Provider - please specify what exactly doesn't work at your? Do you encountered any exception or simply the binding is not correctly applied? As demonstrated in our help article below, you should simply create a custom class for the provider and then implement the Get, Update, Delete and Insert methods with the help of the mapped tables and objects from the Entity Framework model. Finally, you should provide the RadGantt control with the newly created custom provider at the Page_Load.
http://www.telerik.com/help/aspnet-ajax/gantt-providers-customentityprovider.html
Regards,
Nencho
Telerik
0

Jon
Top achievements
Rank 1
answered on 12 Mar 2015, 08:58 AM
Hi Nencho
Well the RowID is a useful reference for two people discussing the gantt chart as they can refer to rows by ID. All the Gantt charts that I have seen have had the facility to do it. It wouldn't be an issue here if I just had the one gantt in the database table but with multiple gantts it will cause issues as the rowID won't start at 1 for each gantt and would not be consecutive.
My solution would be to use a custom column in the db query but am put off by the complexity of the custom provider.
I'll have another stab at that today and post any findings.
Regards
Jon
Well the RowID is a useful reference for two people discussing the gantt chart as they can refer to rows by ID. All the Gantt charts that I have seen have had the facility to do it. It wouldn't be an issue here if I just had the one gantt in the database table but with multiple gantts it will cause issues as the rowID won't start at 1 for each gantt and would not be consecutive.
My solution would be to use a custom column in the db query but am put off by the complexity of the custom provider.
I'll have another stab at that today and post any findings.
Regards
Jon
0
Hello Jon,
I would suggest you to refer to the following Code Library, demonstrating the implementation of the custom provider with a runnable sample :
http://www.telerik.com/support/code-library/radganttcustomentityprovider-a3e011e74a6b
As for the RowID, I would suggest you to submit your feature request in our feedback portal:
http://feedback.telerik.com/Project/108/Feedback/List/Feature%20Request
Regards,
Nencho
Telerik
I would suggest you to refer to the following Code Library, demonstrating the implementation of the custom provider with a runnable sample :
http://www.telerik.com/support/code-library/radganttcustomentityprovider-a3e011e74a6b
As for the RowID, I would suggest you to submit your feature request in our feedback portal:
http://feedback.telerik.com/Project/108/Feedback/List/Feature%20Request
Regards,
Nencho
Telerik
0

Felix
Top achievements
Rank 1
answered on 30 Jul 2015, 01:19 PM
Hello,
in the meanwhile is it possible to get the row index of every bound task of the gantt chart on server-side. I use a custom provider to crud my ​tasks. Thanks.
Regards, Felix
0
Hi,
In order to achieve the desired functionality, my suggestion is to store the row number as part of the gantt task model in the db and to utilize the custom task field functionality.
Regards,
Dimitar Terziev
Telerik
In order to achieve the desired functionality, my suggestion is to store the row number as part of the gantt task model in the db and to utilize the custom task field functionality.
Regards,
Dimitar Terziev
Telerik
0

Felix
Top achievements
Rank 1
answered on 04 Aug 2015, 06:53 AM
Hello Dimitar,
I suppose with row number you mean some type of counter which increments each time a new task is added. But in my case this is not enough. I need the exact row index of each task, i.e. that if I drag a task from row 6 to row 3 the row number shall change from 6 to 3. I need that because I have a grid which contains all the different task with additional tasks' data (e.g. assigned resources). This grid should be grouped by this number to get the groups in exact the same order as the tasks inside the gannt chart. Thanks in advance.
Regards,
Felix