1. jsfiddle doesn’t render the grid cause you are not included right paths to the depended .js and .css files.
2. Using inline functions is a bad practice.
3. You are trying to get the value of an element, but you are set for parameter the “text” value. Must use the “datafield” value.