10643 : Gantt_ASP temporary Images
…currently the Gantt_ASP does not clean up the temporary images.< ?xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /> If you delete all the temp images, the once that are… Continue reading
…currently the Gantt_ASP does not clean up the temporary images.< ?xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /> If you delete all the temp images, the once that are… Continue reading
…cursor point. Answer Sure, you use the Gantt.DateScaler.PixelToTime(x coord). Be sure to convert the coordinate to TimeItemArea local coords since the DragDrop events give you window coords: Point localpoint=gantt1.TimeItemArea.PointToClient(new Point(e.X,e.Y));… Continue reading
…it is DragOverFeedBack-time. Call Grid.Refresh (forcing a redraw). An implement the OnGridPaintForeground to draw “something” on the grid to let the user understand what can happen once he lets go… Continue reading
Question How can I put an image (like the example in Yapp) in a TimeLine? Answer In phGantTimePackage you set the IphDataEntity_GantTime2.Style to gtsImage, uses the ImageIndex property to get… Continue reading
…data = GridNode.GetCell(theColumnIndex).Content.Value; The Content property contains an object of type PlexityHide.GTP.TimeDate, PlexityHide.GTP.SingleText, PlexityHide.GTP.MultiText, PlexityHide.GTP.CustomCell, PlexityHide.GTP.ComboText or PlexityHide.GTP.BoolCheck depending on what kind of CellType you have set in the column. … Continue reading
…header of the control zooms in and out. Instead I would like to be able to move backwards and forwards through the days when dragging. Answer Set the gantt.DateScaler.ReScaleWithControl=true … Continue reading
Question Is it possible to extend the properties of a timeitem by adding custom properties? Without the need of the source code? I’m thinking that maybe it could be done… Continue reading
…suggest that you get your data from the datasource instead: void NodeDataConnect_OnBeforeDSToCell(NodeDataConnect aNodeDataConnect, CellAndDSArgs args) { if (args.Cell.Column.Index==theCellCalclulatedFromTwoOtherValues) args.Value=(args.CurrencyManagerListItem as DataRowView).Row[“Col1”].ToString()+(args.CurrencyManagerListItem as DataRowView).Row[“Col2”].ToString(); }… Continue reading
…Gantt_ASP1.GridNodeFromKey(_idToDelete); if (gn_todelete != null && gn_todelete.ListItemWhenDataBound() != null) { (gn_todelete.ListItemWhenDataBound() as DataRowView).Delete(); } } // Save the changes maybe… } … Continue reading
…this: < ?xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /> void Grid_Resize(object sender, EventArgs e) { if (gantt1.Grid.Columns.SumWidth()<gantt1.Grid.Width) { gantt1.Grid.Columns.FirstVisibleColumn().Width+=gantt1.Grid.Width-gantt1.Grid.Columns.SumWidth(); } }… Continue reading