Katalogerna
PlexityHide

Home 

Products 

Downloads 

Our Shop 

Support 

Contact 


GTP.NET FAQ 10872


If I a timeitem by clicking it how can i the coresponding row in the grid? Please note that this article refers to the GTP.NET
Jump to article- 2007-04-18 22:24:00 - Email plexityHide

Question

If I select a timeitem by clicking it how can i select the coresponding row in the grid?

Answer

Implement OnTimeItem_SelectionChanged and go like this:

    private void gantt1_OnTimeItem_SelectionChanged(PlexityHide.GTP.Gantt aGantt, PlexityHide.GTP.TimeItemEventArgs e)
    {
      if (e.TimeItem.Selected)
      {        
        gantt1.Grid.GridStructure.ClearSelections();
        gantt1.Grid.GridStructure.FocusedCell=e.TimeItem.GanttRow.GridNode.GetCell(0);
      }
    }

 

Google
WWW plexityHide GTP.NET FAQ
Support

Support intro

Knowledgebase

FAQ phGantTimePackage

FAQ GTP.NET

FAQ general

Testimonials

"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%"
Gaurav Patole,
WebTechDevelopers
More testimonials...