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.


                <div class="container-fluid">
  <div id="theGrid">


@font-face {
     font-family: 'S-CoreDream-3Light';
     src: url('') format('woff');
     font-weight: normal;
     font-style: normal;

body {
  margin: 20px;
  font-family: 'S-CoreDream-3Light';

.wj-flexgrid {
    max-height: 250px;
    margin-bottom: 12px;

.header {
    display: inline-block;
    width: 150px;
    text-align: right;
    font-weight: normal;

.wj-flexgrid .wj-header {
  background-color: #4FC3F7;

.wj-cells .wj-cell.wj-state-selected{
  background: #4DD0E1;



                document.readyState === 'complete' ? init() : window.onload = init;
function init() {
  // 기본 그리드
  var theGrid = new wijmo.grid.FlexGrid('#theGrid', {
    itemsSource: getData(),

        var value=theGrid.activeEditor.value;
        if(theGrid.columns[theGrid.editRange.col].binding=="country"&&value.indexOf('e')>=0){ // country에 바인딩되어 있고 값에 e가 포함된 경우,
"red"; // 배경색을 빨간색으로
"white";// 배경색을 하얀색으로

function getData() {
  var countries = 'US,Germany,UK,Japan,Italy,Greece'.split(','), data = [];
  for (var i = 0; i < 200; i++) {
      id: i,
      country: countries[i % countries.length],
      active: i % 5 != 0,
      downloads: Math.round(Math.random() * 200000),
      sales: Math.random() * 100000,
      expenses: Math.random() * 50000
  return data;