CraigCav / Knockout-jqGridBinding

A grid binding plugin for Knockout.js that provides basic integration with the JqGrid plugin for jQuery.
MIT License
37 stars 10 forks source link

click event not working? #4

Closed shauntck closed 11 years ago

shauntck commented 11 years ago

I copied your grid example and tweaked it a little in order to try and fire off a simple click event for a given row - doesn't seem to be able to do it. It seems to be something to do with the grid plugin as i did a foreach and the same code seems to work fine... any ideas?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Knockout: jqGrid Binding ``` ```

Knockout Standard

Amazing Animals
Item Name Sales Count Price
```

Results

Amazing Animals
Item Name Sales Count Price
```
shauntck commented 11 years ago

nevermind... i need to use live() or on() here as the items haven't been rendered yet.