Reload data in a grid with a button
When I am trying to reload data in my grid with call to this:
table.setURL("url");
table.request();
grid.refresh();
it does not actually reloads the data, it just makes the list shorter or longer depending on the number of rows in a new CSV dataset.
Your example "examples/old/load csv.htm" does not work properly either. If you change the second dataset completely (append "1" to each company name in the companies2.csv file), you will notice that the data don't get reloaded into the grid, it just the number of rows that changes, but the data remains the same.
Please help, since this goes into production tomorrow :(
table.setURL("url");
table.request();
grid.refresh();
it does not actually reloads the data, it just makes the list shorter or longer depending on the number of rows in a new CSV dataset.
Your example "examples/old/load csv.htm" does not work properly either. If you change the second dataset completely (append "1" to each company name in the companies2.csv file), you will notice that the data don't get reloaded into the grid, it just the number of rows that changes, but the data remains the same.
Please help, since this goes into production tomorrow :(
Andrew
December 9,