text: ﻿
  function jsGrid()
  {
      GlobalStatic.PageType_Now = this.constructor.name;
  
      var objThis = this;
  
  
      //페이지 공통기능 로드
      Page.Load({}, function ()
      {
          Page.divContents.load("/Pages/Tables/jsGrid.html"
              , function ()
              {
                  objThis.StartTest();
  
                  //메뉴 활성화
                  Page.MenuActive();
              });
      });
  }
  
  jsGrid.prototype.StartTest = function ()
  {
      $("#jsGrid1").jsGrid({
          height: "100%",
          width: "100%",
  
          sorting: true,
          paging: true,
  
          data: db.clients,
  
          fields: [
              { name: "Name", type: "text", width: 150 },
              { name: "Age", type: "number", width: 50 },
              { name: "Address", type: "text", width: 200 },
              { name: "Country", type: "select", items: db.countries, valueField: "Id", textField: "Name" },
              { name: "Married", type: "checkbox", title: "Is Married" }
          ]
      });
  };