XPTable.Models.Table.ClearAllData C# (CSharp) Méthode

ClearAllData() public méthode

Removes the TableModel from the Table but leaves the ColumnModel unaltered.
public ClearAllData ( ) : void
Résultat void
        public void ClearAllData()
        {
            if (this.TableModel != null)
                this.TableModel.Rows.Clear();
        }

Usage Example

Exemple #1
0
 private void DoMyClickThing(CellPos cellpos)
 {
     // Off we go...
     table.ClearAllData();
 }
Table