EasyUI Forum
April 28, 2024, 11:52:05 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: XML data for TreeGrid  (Read 33575 times)
zolotoy
Jr. Member
**
Posts: 89


View Profile Email
« Reply #15 on: July 01, 2015, 02:18:54 AM »

Yes, it started working, thanks for the help.
Can you tell me if it's going to work with later Angular? Like I said, it does not with 1.3.15.
Also when it runs it does not look exactly as examples. I am attaching a screenshot.

Thanks
Logged
zolotoy
Jr. Member
**
Posts: 89


View Profile Email
« Reply #16 on: July 01, 2015, 02:26:15 AM »

Just figured out why it looked differently. I am using Foundation
<link rel='stylesheet prefetch' href='http://cdn.foundation5.zurb.com/foundation.css'>
Without this link it looks right.

Do you think it might work together?
Logged
zolotoy
Jr. Member
**
Posts: 89


View Profile Email
« Reply #17 on: July 01, 2015, 12:23:04 PM »

I am starting getting some results. While I am seeing data in the treegrid I am also getting errors in the Console:
TypeError: Unable to get property 'parent' of undefined or null reference
   at Anonymous function (http://www.jeasyui.com/easyui/jquery.easyui.min.js:11530:1)
   at each (http://code.jquery.com/jquery-2.1.4.min.js:2:2875)
   at n.prototype.each (http://code.jquery.com/jquery-2.1.4.min.js:2:838)
   at $.fn.treegrid.methods.loadData (http://www.jeasyui.com/easyui/jquery.easyui.min.js:11529:1)
   at $.fn.treegrid (http://www.jeasyui.com/easyui/jquery.easyui.min.js:11498:1)
   at ngModel.$render (http://localhost:3030/prismHTML/alarms/app/controllers/alarmController.js:32:17)
   at Anonymous function (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.1/angular.min.js:172:398)
   at g.prototype.$digest (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.1/angular.min.js:98:303)
   at g.prototype.$apply (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.1/angular.min.js:101:155)
   at g (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.1/angular.min.js:67:173)
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!