Example #1
0
        private void TableView_CellValueChanging(object sender, CellValueChangedEventArgs e)
        {
            object         value;
            TableView      view = sender as TableView;
            MEASURING_DATA row  = e.Row as MEASURING_DATA;

            if (e.Value == null)
            {
                return;
            }
            value = e.Value;
            CellUpdated(value, e.Column.FieldName, row);
        }
        private void TableView_CellValueChanging(object sender, CellValueChangedEventArgs e)
        {
            object         value;
            TableView      view = sender as TableView;
            MEASURING_DATA row  = e.Row as MEASURING_DATA;

            if (e.Value == null)
            {
                return;
            }
            value = e.Value;
            CellUpdated(value, e.Column.FieldName, row);
            if (row.MDA_F == 0)
            {
                gcRandom.CurrentColumn = ((TableView)sender).Grid.Columns["MDA_F"];
            }
        }