[ 1 post ]

John Ophof

  • Username: jop007
  • Joined: Wed Mar 28, 2012 2:26 am
  • Posts: 7
  • Offline
  • Profile

Dependencies running the complex example and inheritance

Post Posted: Wed Apr 18, 2012 1:20 am
+0-
I am trying to run the complex example frrom a local file. This resulted in a console error message
The following message is on the console:
Uncaught Error: extend failed, please check that all dependencies are included.
I included the following stuff based on the dependency checker.

What is the best way to subclass the datatable. Adding your own stuff to the datatable object. The examples of YUI are not based on inheritance extensions. If this was done it was easier to extend the datatable with new stuff for your own project.
Maybe somebody has something similar like the complex example but based on inheritance.

<!-- Combo-handled YUI CSS files: -->
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.9.0/build/paginator/assets/skins/sam/paginator.css&2.9.0/build/datatable/assets/skins/sam/datatable.css">
<!-- Combo-handled YUI JS files: -->
<script type="text/javascript" src="http://yui.yahooapis.com/combo?2.9.0/build/yahoo-dom-event/yahoo-dom-event.js&2.9.0/build/animation/animation-min.js&2.9.0/build/dragdrop/dragdrop-min.js&2.9.0/build/element/element-min.js&2.9.0/build/paginator/paginator-min.js&2.9.0/build/datasource/datasource-min.js&2.9.0/build/datatable/datatable-min.js"></script>

John
  [ 1 post ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum