This is a migrated thread and some comments may be shown as answers.

Various

2 Answers 90 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 03 Mar 2015, 12:49 PM
Hi,

I have quite a few questions re the Gantt control.  Apologies for grouping into one post but I don't want to create a ton of individual messages.

1) The Add Task button.  I have hidden the bottom command bar with the style below, is this the best current way to hide it and in the future could the command bars be toggled via a tag.
    
.rgtToolbar.rgtFooter { display:none !important; }

2) Export to PDF.  When exporting the Gantt chart the buttons are included as if it was a screen shot.  Is there a way to stop that?  Maybe disable the button before PDF generation and re-enable afterwards.

3) Ajax.  I use a custom icon for teh Ajax control.  Works fine on normal controls but the Gantt control seems to revert back to the skin based CSS.  I've looked at the source and nothing stands out as being the reason for the issue.  Any suggestions?

div.RadAjax_Black .raDiv { background-image: url(/Images/loading.gif); }

4) Task colours.  With the current release what is the best way to assign custom colours to individual tasks?

5) Custom fields.  I have seen an article that discusses addition of fields using a custom provider.  Does that approach end up adding the custom field to the admin popup form?  The article that I am referring to is here: http://www.telerik.com/help/aspnet-ajax/gantt-custom-tasks-field.html

Again apologies for grouping the queries.

Thanks in advance for any assistance.

Regards

Jon

2 Answers, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 06 Mar 2015, 09:25 AM
Hi Jon,

1). For the command bar you can use
$('.rgtToolbar.rgtFooter').hide()

and

$('.rgtToolbar.rgtFooter').show()

2).  Yes try to hide the elements with css/javascript before the exporting.

3).  Use RadAjaxLoadingPanel and change the progress indicator icon
http://www.telerik.com/help/aspnet-ajax/ajax-loadingpanel.html

4).  You can create a popup window or you can try to use Gantt Resources, depends on your scenario.

Regards,
Hristo Valyavicharski
Telerik
0
Jon
Top achievements
Rank 1
answered on 09 Mar 2015, 08:26 AM
Hi Hristo

Thanks for that.  I'll give the alternate toolbar method a try.

Re question 2, please could you give some example code for this.  At the moment the documents seem to only give information about client events not objects or methods.

No luck with the loading panel.  I have tried the examples on that page but on this the custom loading panel is always overridden, this appears when pressing the Add New task button.  Very odd.

I think that you missed my question 4 and answered #5 instead.  Question 4 related to colouring tasks.

Regards

Jon
Tags
Gantt
Asked by
Jon
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Jon
Top achievements
Rank 1
Share this question
or