private void InitTableCell()
        {
            var ds  = new TableDataSource(tbl_cells);
            var dlg = new BaseTableDelegate(ds);

            tbl_cells.Delegate   = dlg;
            tbl_cells.DataSource = ds;

            var tblColumnIdentifier = new string[] { "C0", "C1", "C2", "C3", "C4" };

            InitTableColumns(tblColumnIdentifier, tbl_cells);

            var data = CreateDataForCellTable(tblColumnIdentifier, 3);

            ds.Data.AddRange(data);

            tbl_cells.ReloadData();
        }
        private void InitTable()
        {
            var ds  = new TableDataSource(tbl);
            var dlg = new BaseTableDelegate(ds);

            tbl.Delegate   = dlg;
            tbl.DataSource = ds;

            var tblColumnIdentifier = new string[] { "C0", "C1", "C2", "C3", "C4" };

            InitTableColumns(tblColumnIdentifier, tbl);

            var data = new List <ITableRow>();

            data.AddRange(CreateSimpleData(tblColumnIdentifier, 5));

            ds.Data.AddRange(data);
            tbl.ReloadData();
        }