XPTable.Models.Table.ClearAllData C# (CSharp) Method

ClearAllData() public method

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

Usage Example

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