I’ve got 2 grids that are attached to 2 php files containing the render_table statement.
What if render_table returns no rows?
For example,
This loads the php and passes in an ID:
studentTelcomGrid.load("php/student_telcom.php?studentId="+rID);
The php contains the render_table statement:
$gridConn->render_table("telcom","studentId","name,value");
Now, the grid updates and displays the correct information if there is data (ie, if there are records with the specified studentId).
However, the grid does not update, and keeps the previous data, if the new studentId does not return any records.
Is there a flag or something that I’m not setting?
Thanks!
kitofuwi