EasyUI Forum
April 26, 2024, 09:02:14 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / treegrid onClickRow give javascript error on: January 16, 2019, 11:28:57 AM
I have a treegrid which is working fine.  Now I need to click (or double click) on a row to popup a form.  When I add

onClickRow: function(row) { alert('hello world'); },

I get the following in the JS console

[Error] TypeError: null is not an object (evaluating 'row[field]')
   clickEventHandler (jquery.easyui.all.js:13755)
   clickEventHandler (jquery.easyui.all.js:16788)
   dispatch (jquery-3.2.1.min.js:3:10322)

Any ideas?

Jim
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!