RadiantQ Forum
Product => jQuery Gantt Package => Topic started by: ssunder on December 05, 2014, 09:38:36 AM
-
Hi Team
I need to add one option in Gantt Chart/ Table display
like from outside button click want to Hide GanttChart or GanttTable.
How can I do this?
I am doing this this. Is it fine?
if ($(this).attr("value") == "Show Ghantt Chart") {
$('#gantt_container_TablePanal').hide();
$('#gantt_container_GanttChart').width('100%');
$("#divShowGhanttChart").prop('value', 'Show Table Panal');
$('#gantt_container_GanttChart').show();
$('#gantt_container_GanttChart').next('div').show();
}
else {
$('#gantt_container_TablePanal').width('100%');
$('#gantt_container_TablePanal').show();
$("#divShowGhanttChart").prop('value', 'Show Ghantt Chart');
$('#gantt_container_GanttChart').hide();
$('#gantt_container_GanttChart').next('div').hide();
}
-
Shyam,
Currently, Gantt is sharing the grid's vertical scroll bar with chart. So, you can't able to scroll the chart vertically if you hide the Grid. We are looking on this and we will update you at start of the next week.
Regards,
Raja
-
Shyam,
We have sent the sample that will illustrate how to show/hide the GanttTable/Chart.
Thanks
Raja
-
Hi Raja
It is working fine but having an issue every time slider is visible (that is between table/ chart).
When I click on hidetable button table is hide but when I click on slider which was between table and chart it toggle to table.
So i want to hide complete functionality like when I click on HideTable it will hide table and can't click on slider to view table.
-
Shyam,
We are looking on this, we will update you soon.
Regards,
Raja