Ticket #7827 (closed bug: invalid)
Stop reloading JQGrid when ddl change
| Reported by: | balaonline2@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.6 |
| Component: | unfiled | Version: | 1.4.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Am using jqgrid. i have dropdown control. when i change the dropdown the values of particular columns should change.
I have written
$('#ddlCurrency').change(function() {
if ($('#ddlCurrency :selected').text() == "INR") {
var myArr = new Array(); var myString = new String(); var FuncUnitPrice; var OneUSDEquals = 0; myString = $('#ddlCurrency :selected').val(); myArr = myString.split(","); var OneFCUnitEquals = myArr[0]; var OneFCUUSD = myArr[1]; FuncUnitPrice = 0; OneUSDEquals = $('#hidOneUSDEquals').val(); var idTotal = $('#grid').jqGrid('getCol', 'Total', false)
for (index = 1; index <= 11; index++) {
FuncUnitPrice = (idTotal[index] / (OneUSDEquals * OneFCUnitEquals)); idTotal[index] = FuncUnitPrice
}
}
});
Issue:
Every time GQgrid is reloaded... the values(from jquery) are not binded to jqgrid... it is reloading .. how to stop reloading the page...
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

This is the bug tracker for clear, reproducible bugs with jQuery Core. It is not a support forum, nor is it for reporting issues with other projects. If you need help with jqGrid, they have their own forum as well.