/// <summary> /// Creates HTML Table to display Lookup data /// </summary> private void CreateTable() { TableStates.Dispose(); int totalRows = 10; int totalColumns = 8; for (int row = 0; row < totalRows; row++) { TableRow tr = new TableRow(); for (int column = 0; column < totalColumns; column++) { TableCell td = new TableCell(); td.Wrap = false; tr.Cells.Add(td); } TableStates.Rows.Add(tr); } }
/// <summary> /// Default constructor /// </summary> public GXTableEventArgs(GXTable table, TableStates status, int index, List<object[]> rows) : base(table) { Rows = rows; Status = status; Index = index; }
/// <summary> /// NotifyPropertyChange informs software of changes in the GXProperty. /// </summary> /// <param name="status">The type of the event to be raised.</param> /// <param name="index">Index of the changed item.</param> /// <param name="rows">Rows of the current GXTable</param> public void NotifyTableChange(TableStates status, int index, List<object[]> rows) { NotifyUpdated(this, new GXTableEventArgs(this, status, index, rows)); }