Deleting table's sample items is not removing all the data

Hi Cynthia,

First of all, you have two onReady() functions in you code. You should only have one.

Although you deleted the email column from the Table definitions, you’ve defined it in the onReady() function. All of the columns that appear are as a result of the $w(“#table1”).columns = [{ in the onReady() function.

To start with an empty table, add the following statement to the beginning of the onReady() function:
** $w(“#table1”).rows = ;**

The reason the search isn’t working is because it isn’t correctly connected to the button’s onClick() event handler:

BTW - For a more professional appearance, you might want to consider using a Repeater in place of a Table.

I hope this helps,

Yisrael