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.

+ add another resource


Babel includes JSX processing.

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.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <wjc-flex-grid id="grid">
  <wjc-flex-grid-column binding="No"></wjc-flex-grid-column>
  <wjc-flex-grid-column binding="商品名" width="200"></wjc-flex-grid-column>
  <wjc-flex-grid-column binding="受注日"></wjc-flex-grid-column>
  <wjc-flex-grid-column binding="金額" format="c"></wjc-flex-grid-column>
  <wjc-flex-grid-column binding="値引"></wjc-flex-grid-column>




// 連結データ
var data = [
    No: 0,
    商品名: "うまい素",
    受注日: "2016/12/28",
    金額: 11040,
    値引: true
    No: 1,
    商品名: "チョコクリームアイス",
    受注日: "2015/12/17",
    金額: 15600,
    値引: "false"
    No: 2,
    商品名: "ピュアシュガー",
    受注日: "2014/01/17",
    金額: 2800,
    値引: "false"
    No: 3,
    商品名: "果汁100%レモン",
    受注日: "2013/10/22",
    金額: 12240,
    値引: "true"
    No: 4,
    商品名: "パルメザンチーズ",
    受注日: "2014/08/22",
    金額: 10500,
    値引: "false"

window.onload = function() {
  // ウェブコンポーネント要素を取得します
  var grid = document.getElementById("grid");

  // 連結データを設定します
  grid.itemsSource = data;

  // 選択セルが変更された場合のイベント設定を行います
  grid.addEventListener("selection-changed", function(e) {
    document.getElementById("log").innerText = wijmo.format(
      "({row}, {col})",