0

I am trying to create an Observable of onSelectRow events in jqGrid using the syntax below:

grid.jqGrid().toObservable("onSelectRow").Select(function (event) {
                 return alert($(event.target).val());
            });

Nothing seems to be happening. Most examples bind to simple events like click in documentation. I cannot find any complex implementation examples. How can this achieved?

Piyush Sardana
  • 1,748
  • 4
  • 19
  • 33
chugh97
  • 9,602
  • 25
  • 89
  • 136
  • First i dont know about toObservable, can you guide me to a link about it. Second, just a guess use grid.jqGrid instead of grid.jqGrid(). – Piyush Sardana Aug 29 '12 at 11:06
  • http://msdn.microsoft.com/en-us/devlabs/gg577611 Introducing RxJS - Reactive Extensions for JavaScript – chugh97 Aug 29 '12 at 11:12

0 Answers0