Hello. My grids are created by php, i.e. after the call to the database I write
echo "<table id="table_".$row[ID].""></table>";
Everything is fine, data arrives and is displayed in how they can be harmonized correctly, but now I can't use different methods in this grid. Ie If I did
$("#table_273").setGridParam ({url:new_url});
$("#table_273").trigger("reloadGrid");
Everything worked fine when I just hard prescribed the creation of table's. Now that swears, says that the object has no method setGridParam. I think you need to use something like bind, but do not know how. Tried:
$("#table_273").jqgrid("setGridParam",{'url':new_url});
$("#table_273").trigger("reloadGrid");
The effect is the same, only now the object has no method jqgrid. What could be the problem?
If you just in the console type $('#table_273'), the table will show?
Again, make sure that 273 not sehardcore, and that this id is in the database... - Delpha_Cummin commented on October 3rd 19 at 02:59
Again a typo, but: $("#table_273").jqgrid("setGridParam",{'url':new_url}); — it should jqGrid, those with a large letter G - Delpha_Cummin commented on October 3rd 19 at 03:05