December 11, 2018, 02:38:44 AM

See more Support incidents in our old archived forum.

Author Topic: Show-Hide chart and table  (Read 2138 times)

ssunder

  • Customers
  • Newbie
  • *
  • Posts: 25
Show-Hide chart and table
« 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();
        }

Rajagopal

  • RQ Members
  • Jr. Member
  • *
  • Posts: 99
Re: Show-Hide chart and table
« Reply #1 on: December 06, 2014, 01:04:57 PM »
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

Rajagopal

  • RQ Members
  • Jr. Member
  • *
  • Posts: 99
Re: Show-Hide chart and table
« Reply #2 on: December 09, 2014, 04:43:17 PM »
Shyam,

We have sent the sample that will illustrate how to show/hide the GanttTable/Chart.


Thanks
Raja

ssunder

  • Customers
  • Newbie
  • *
  • Posts: 25
Re: Show-Hide chart and table
« Reply #3 on: December 29, 2014, 01:05:33 PM »
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.


Rajagopal

  • RQ Members
  • Jr. Member
  • *
  • Posts: 99
Re: Show-Hide chart and table
« Reply #4 on: December 30, 2014, 02:39:14 PM »
Shyam,

We are looking on this, we will update you soon.


Regards,
Raja