cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

              <h1>Users List</h1>

<table data-bind="ojComponent: {component: 'ojTable', 
            data: dataSource,
            columns: [
                {headerText: 'Username', field: 'username'},
                {headerText: 'Name', field: 'name'},
                {headerText: 'Company Name', field: 'company'},
                {headerText: 'Email', field: 'email'},
                {headerText: 'Phone', field: 'phone'}

              @import url('//rawgit.com/oracle/oraclejet/3.0.0/dist/css/alta/oj-alta-min.css');

], function(ko, oj, $) {
  'use strict';

  var ViewModel = function() {
    var self = this;

    self.data = ko.observableArray();
    then(function(users) {
      $.each(users, function() {
          username: this.username,
          name: this.name,
          company: this.company.name,
          email: this.email,
          phone: this.phone
    self.dataSource = new oj.ArrayTableDataSource(
      self.data, {
        idAttribute: 'username'


  ko.applyBindings(new ViewModel());

//RequireJS configs (usually these come first in main.js, but they don't have to)
  // Path mappings for the logical module names
  paths: {
    'knockout': '//cdnjs.cloudflare.com/ajax/libs/knockout/3.4.0/knockout-min',
    'jquery': '//cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min',
    "jqueryui-amd": "//rawgit.com/jquery/jquery-ui/1.12.0/ui",

    "promise": "//cdnjs.cloudflare.com/ajax/libs/es6-promise/3.2.1/es6-promise.min",
    "hammerjs": "//cdnjs.cloudflare.com/ajax/libs/hammer.js/2.0.8/hammer.min",
    "ojdnd": "//rawgit.com/oracle/oraclejet/3.0.0/dist/js/libs/dnd-polyfill/dnd-polyfill-1.0.0.min",
    "ojs": "//rawgit.com/oracle/oraclejet/3.0.0/dist/js/libs/oj/debug/",
    "ojL10n": "//rawgit.com/oracle/oraclejet/3.0.0/dist/js/libs/oj/debug/ojL10n",
    "ojtranslations": "//rawgit.com/oracle/oraclejet/3.0.0/dist/js/libs/oj/resources",
    "text": "//cdnjs.cloudflare.com/ajax/libs/require-text/2.0.12/text.min",
    "signals": "//cdnjs.cloudflare.com/ajax/libs/js-signals/1.0.0/js-signals.min",
        'customElements': '//rawgit.com/webcomponents/webcomponentsjs/v0.7.24/CustomElements',
    "proj4": "//cdnjs.cloudflare.com/ajax/libs/proj4js/2.4.3/proj4",
    "css": "//cdnjs.cloudflare.com/ajax/libs/require-css/0.1.10/css.min"
  // Shim configurations for modules that do not expose AMD
  shim: {
    'jquery': {
      exports: ['jQuery', '$']

Loading ..................