Hi,
I am new to jqGrid and need help.
I am using the latest 4.4.1 version of jqGrid and Coldfusion 9. My grid so far works as intended however, I am stuck with couple of issues.
1. This is more important issue. Every time I click on Add button to bring add form I must pass one hidden variable “provider_id” taken from drop down box to processing function.
Also, there is a default set in one of the fields for current year that pre-populates Year text box in the add form.
The issue is, when I call add form first time, it works great and I can add new record. Second time when I call add form, that hidden variable is gone and current year does not show too. Also, if I call edit form and update something or, just close it, after that add form behaves the same and does not retain that hidden variable or, pre-populates current year. I can call “edit form” as many times and it works fine.
Bottom line, “add form” loads hidden variable “provider_id” and pre-populates current year only first initial time I call it.
2. My grid is located in function loadGrid() and called every time parameters change in one of the 3 drop down boxes. The grid is generated just fine when I call it first time from onchange event but, nothing happens when I change second time. I added $(“#list”).jqGrid('GridUnload'); line
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top