10623 : Getting the values out of the grid

…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

11093 : Calculated columns in a databound Grid

…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

11546 : Gantt_ASP, adding hyperlink in the grid

…Gantt_ASP1.GridNodeFromKey(_idToDelete);             if (gn_todelete != null && gn_todelete.ListItemWhenDataBound() != null)             {                 (gn_todelete.ListItemWhenDataBound() as DataRowView).Delete();             }         }      // Save the changes maybe…     }    … Continue reading

11123 : I want to extend the grid columns so that they always fill the space in grid

…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