Bug Tracker

Modify

Ticket #7827 (closed bug: invalid)

Opened 2 years ago

Last modified 2 years ago

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

comment:1 Changed 2 years ago by ajpiano

  • Status changed from new to closed
  • Resolution set to invalid

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.