Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 453
  • Last Modified:

jQuery jgGrid event wont fire

Hello experts,

I have a jQuery jqGrid constructed in my jsp page, once the page loads up, i can see the grid and the data loaded in fine. i have a problem trying to activate the grid event. All the event that I try doesn't get triggered at all. You can look at the attached file for reference.
TestGrid.txt
0
borama
Asked:
borama
  • 2
1 Solution
 
hieloCommented:
You have:
loadComplete465:function(xhr){ ...}

did you mean:
loadComplete:function(xhr){ ...}

IF that doesn't help, post a link to your page so I can see what data you are trying to load and how you are trying to attach the events.
0
 
boramaAuthor Commented:
Now I've found what is the problem. I should have attached the event to the initialization of the grid. not as a separate block of statements.

And sorry about my code sample. It should be loadComplete: function(xhr).... not loadComplete465: function(xhr){...}
0
 
hieloCommented:
>>Now I've found what is the problem. I should have attached the event to the initialization of the grid. not as a separate block of statements.
I'm sure someone else is likely to make the same mistake you did. Please consider posting the block(s) of code that you did wrong and how you fixed it. It may prove helpful to others with the same problem.

Regards,
Hielo
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now