Refresh grid with data from database?

I have a button under my grid table to refresh the grid, but it doesn’t work. How can i refresh the grid with data loaded from database?

Any suggestions?

try this

Grid.clearAll();
Grid.load(..........);

I’ve tried mygrid.load(‘connector.php’) but it didn’t work. Which file do i have to put in the load function? I thought that i have to put in the php file where the select statement is placed for loading the data from database…

EDIT: I’ve tried it with mygrid.clearAndLoad(‘connector.php’) and now it works fine! :slight_smile: