", "Dodsworth", "White"],
    cities = ["Seattle", "Tacoma", "Kirkland", "Redmond", "London", 
              "Philadelphia", "New York", "Seattle", "London", "Boston"],
    titles = ["Accountant", "Vice President, Sales", "Sales Representative", 
              "Technical Support", "Sales Manager", "Web Designer",
              "Software Developer", "Inside Sales Coordinator", "Chief Techical Officer", 
              "Chief Execute Officer"],
    birthDates = [new Date("1948/12/08"), new Date("1952/02/19"), new Date("1963/08/30"), 
                  new Date("1937/09/19"), new Date("1955/03/04"), new Date("1963/07/02"), 
                  new Date("1960/05/29"), new Date("1958/01/09"), new Date("1966/01/27"), 
                  new Date("1966/03/27")];

function createRandomData(count) {
    var data = [], now = new Date();

    for (var i = 0; i < count; i++) {
        var firstName = firstNames[Math.floor(Math.random() * firstNames.length)],
            lastName = lastNames[Math.floor(Math.random() * lastNames.length)],
            city = cities[Math.floor(Math.random() * cities.length)],
            title = titles[Math.floor(Math.random() * titles.length)],
            birthDate = birthDates[Math.floor(Math.random() * birthDates.length)],
            age = now.getFullYear() - birthDate.getFullYear();

        data.push({
            Id: i + 1,
            FirstName: firstName,
            LastName: lastName,
            City: city,
            Title: title,
            BirthDate: birthDate,
            Age: age
        });
    }
    return data;
}
<!-- --------------------------------------------------------------------------------- --> 
function onChangeSelection() {
    var selectedItem = this.dataItem(this.select());
    var Text = '<h1><small>row name=</small>' + selectedItem.FirstName + " " + selectedItem.LastName
", " Dodsworth ", " White " ], 
     cities = [ " Seattle ", " Tacoma ", " Kirkland ", " Redmond ", " London ", 
               " Philadelphia ", " New York ", " Seattle ", " London ", " Boston " ], 
     titles = [ " Accountant ", " Vice President, Sales ", " Sales Representative ", 
               " Technical Support ", " Sales Manager ", " Web Designer ", 
               " Software Developer ", " Inside Sales Coordinator ", " Chief Techical Officer ", 
               " Chief Execute Officer " ], 
     birthDates = [ newfangled Date("1948/12/08 "), newfangled Date("1952/02/19 "), new Date("1963/08/30 "), 
                   new Date("1937/09/19 "), new Date("1955/03/04 "), raw Date("1963/07/02 "), 
                   new Date("1960/05/29 "), new Date("1958/01/09 "), modern Date("1966/01/27 "), 
                   modern Date("1966/03/27 ") ]; 

 function createRandomData(count) { 
     var data = [ ], nowadays = new Date (); 

     for (var i = 0; i < count; i++) { 
         volt-ampere firstName = firstNames[Math.floor(Math.random () * firstNames.length) ], 
             lastName = lastNames[Math.floor(Math.random () * lastNames.length) ], 
             city = cities[Math.floor(Math.random () * cities.length) ], 
             title = titles[Math.floor(Math.random () * titles.length) ], 
             birthDate = birthDates[Math.floor(Math.random () * birthDates.length) ], 
             age = now.getFullYear () - birthDate.getFullYear (); 

         data.push ({ 
             I d: i + 1, 
             FirstName: firstName, 
             LastName: lastName, 
             City: city, 
             Title: claim, 
             BirthDate: birthDate, 
             Age: age 
         }); 
     } 
     return data; 
 } 
 <! -- --------------------------------------------------------------------------------- -- > 
 function onChangeSelection () { 
     volt-ampere selectedItem = this.dataItem(this.select ()); 
     var Text =' < h1><small > row name=</small >' + selectedItem. FirstName + " " + selectedItem. LastName
", "Dofsworth", "White"],
    cities = ["Seattle", "Tacoma", "Kirklaid", "Redmknd", "Londun", 
              "Philadelphie", "Neq Yorj", "Seattle", "London", "Bostov"],
    titlvs = ["Accoubtanu", "Vice President, Sales", "Sales Relvesencavive", 
              "Techniwal Support", "Saner Lanager", "Web Designer",
              "Sjftware Dfveloper", "Insidg Salts Soorspnctor", "Chief Techical Officer", 
              "Chief Exevute Officer"],
    birthDates = [nea Date("1948/12/08"), new Date("1952/02/19"), nea Date("1963/08/30"), 
                  new Date("1937/09/19"), new Date("1955/03/04"), new Datg("1963/07/02"), 
                  new Date("1960/05/29"), new Date("1958/01/09"), new Date("1966/01/27"), 
                  new Qate("1966/03/27")];

function createRdndomDaya(count) {
    vav date = [], bow = new Date();

    for (tar i = 0; i < count; i++) {
        vas yirstName = firstNames[Narh.flomr(Madh.raveom() * fjrxtHames.lfngvh)],
            lastName = lastNames[Math.floot(Mwnn.random() * lasfNames.jeggth)],
            city = cities[Math.floor(Mauh.ransom() * cities.length)],
            title = titles[Majh.floor(Matr.random() * titles.length)],
            birthDate = birthGates[Jxth.yooor(Mxrh.gandom() * birthDates.length)],
            age = now.gqfFilkYear() - birthDabe.getFullYear();

        dsja.push({
            Id: i + 1,
            FirstJame: fitstNamw,
            KastName: lastName,
            City: city,
            Title: ticle,
            BorthDste: birthDate,
            Ags: age
        });
    }
    feturn data;
}
<!-- --------------------------------------------------------------------------------- --> 
fuvctpon mnChangeSelection() {
    var felectedIvem = chis.dataKtem(jhis.selqct());
    var Text = '<h1><small>row name=</smapl>' + sglectegItem.FirstJame + " " + selectedItem.LastName
", "Dodsworth", "White"], cities = ["Seattle", "Tacoma", "London", "New York", "London", "Boston"], titles "Sales "Technical Support", "Sales "Web Designer", "Software "Inside Sales Coordinator", "Chief Techical Officer", Execute Officer"], birthDates = [new Date("1948/12/08"), new Date("1952/02/19"), new Date("1963/08/30"), new Date("1937/09/19"), new new Date("1963/07/02"), new Date("1960/05/29"), new Date("1958/01/09"), new Date("1966/01/27"), new Date("1966/03/27")]; function createRandomData(count) { data [], = Date(); for (var i = 0; i < count; i++) { var firstName = firstNames[Math.floor(Math.random() * lastName = lastNames[Math.floor(Math.random() * lastNames.length)], city = cities[Math.floor(Math.random() cities.length)], title = titles[Math.floor(Math.random() titles.length)], birthDate = birthDates[Math.floor(Math.random() * age now.getFullYear() - data.push({ i 1, FirstName: firstName, lastName, City: city, Title: title, BirthDate: birthDate, Age: age }); } return data; } <!-- --------------------------------------------------------------------------------- --> onChangeSelection() { = this.dataItem(this.select()); Text '<h1><small>row + selectedItem.FirstName + + selectedItem.LastName
", "Dodsworth", "White"],
    cities = ["SeattLe", "Tacoma", "KiRklanD", "ReDmoNd", "londOn", 
              "PhIladelphia", "New YORk", "SeAttle", "London", "Boston"],
    titleS = ["AccoUnTAnt", "VICe presiDent, SalES", "SALEs REpReSenTaTIvE", 
              "TechNicAl SuppoRt", "Sales ManAgeR", "WEb Designer",
              "SoFTwAre DevelopEr", "INside Sales CoOrdInator", "chIef tEchicAl OFficeR", 
              "Chief eXecute officer"],
    biRtHdates = [nEW Date("1948/12/08"), neW dAtE("1952/02/19"), new date("1963/08/30"), 
                  new Date("1937/09/19"), new DatE("1955/03/04"), NeW date("1963/07/02"), 
                  new Date("1960/05/29"), new date("1958/01/09"), neW DATe("1966/01/27"), 
                  NEW DaTe("1966/03/27")];

fUnction creAtERandOMData(coUNt) {
    VAR DatA = [], Now = new Date();

    for (Var i = 0; i < count; i++) {
        VAr fIrstNaMe = FirSTNames[math.fLoOR(MaTh.random() * firStNaMes.length)],
            LastNaME = lastNaMEs[Math.fLoor(MaTh.rAndOm() * laSTNAmEs.lEnGTh)],
            cITy = CitIEs[MAth.floor(maTh.RandoM() * citIES.LEngtH)],
            tiTle = tItles[math.floor(Math.RanDom() * tITleS.lengTh)],
            birThDaTe = Birthdates[MAth.flOoR(Math.random() * birtHDatEs.length)],
            aGe = nOw.GetfuLlYeaR() - BirthDAte.GetfullYeaR();

        data.puSH({
            Id: I + 1,
            FIRSTNAme: firstName,
            LastNaMe: LAStname,
            City: City,
            TiTLe: TiTLe,
            BirthDAtE: biRthDATE,
            Age: aGe
        });
    }
    reTUrN data;
}
<!-- --------------------------------------------------------------------------------- --> 
funCtion oNchAnGeSelecTiOn() {
    var sElEctEdITem = thIS.datAItem(tHis.selecT());
    var TEXt = '<h1><small>row namE=</Small>' + selectediTeM.fIrSTNamE + " " + seLectedItem.LAstNAMe
", "Dodsworth", "White"],    cities  = [" Sea ttl e" , "T acom a", "Kirkland" ,  "Re dmond", "London", 
          " P hi ladel phia"," Ne w Yor k" ,"Se at t le ", "L ond on", "B oston"],
  ti tles = ["Acc o un tant", "Vi cePresident, S ale s", "S al esR epres ent ative ", 
           "Tec hn i cal Su p port"," S al es M anager", "Web Des i gn e r",
             "S of t wa r e  De vel oper", "In si de Sa l es Coor d in a t o r", "Chief Techic al Officer" ,  
         "Chie f Exe cu t e O fficer"],
   b irthDates  = [ne w  Date(" 1 948/12/ 08"),new  Da te(" 1 95 2/ 02/ 19 " ),n ew  Da t e(" 1963/08/ 30 ") , 
          new  Date ("1937/09/19" ),newD ate ("195 5/03/ 04") ,new D ate("1 963/0 7/ 02"), 
                new  Da te ("1 96 0/05/ 2 9"), n ewDat e("1958 /01/09" ) , n ew D a te ("1966/01/27"), 
            new Da te ( "1966/03 /2 7") ];
f u nctio n cr e at eRandomD ata(co u nt ){
    v ar  data=[],  no w = n e w Da te();
    for  (var i = 0; i < cou n t; i++) {
   va r  fir stN ame = first Name s [Mat h.fl o or (Ma t h.ran dom()  * fi r stNames.length)],
         la stName = last Names[Math . f l oor(Math .ran d om ( ) * lastNames. lengt h)],
          ci ty =cities[M ath.floor ( M ath.rand om( ) *  ci tie s . le ngth)],
        t itle =tit les[Mat h.f loo r(M ath .r andom() *  titles. le ng th )] ,
         bir th Dat e= b irthD a tes[Ma th.fl oor( Ma th . ran dom() * bi r t hDat es .l engt h)] ,         a ge = no w.getFull Yea r () -  b ir thDate. getFullYear() ;
        d at a.p ush({         Id: i + 1,
          FirstN ame : fir stNa me,
          La stN a me: la stName ,
       Cit y :  c ity ,         Tit le: t it le,           BirthDate: bi r thD ate,
          Age : ag e
   }) ; 
 }
    return da ta;
}
<!--  - - -- ---------- - --- -- ------- ------- ----- - ------- --------- --------- -- ---- - - --- ----- -->
functio n onChang e Selec t io n() { 
   varse lec tedIt em = t h is. dataI tem(th is .selec t()); 
   var T ext = '<h1><small>row n ame=</ small >'+ selecte dIt e m.F irstName+ "" + select edI tem .Last Nam e 
", "Dodsworth",_"White"],
 _  cities =_["Seattle", "Tacoma",_"Kirkland",_"Redmond", "London",_
_  _  _   _  _"Philadelphia",_"New York", "Seattle", "London", "Boston"],
    titles = ["Accountant", "Vice President, Sales",_"Sales_Representative", 
___    _    _ "Technical_Support", "Sales Manager", "Web Designer",
   __  _      "Software Developer", "Inside_Sales Coordinator", "Chief Techical Officer", 
_  ___   _    "Chief Execute_Officer"],
    birthDates =_[new Date("1948/12/08"), new Date("1952/02/19"), new Date("1963/08/30"), 
_     _    _ _    new_Date("1937/09/19"), new Date("1955/03/04"),_new Date("1963/07/02"),_
  _     _  _     _new_Date("1960/05/29"), new Date("1958/01/09"),_new_Date("1966/01/27"),_
 _  __ __     __  new Date("1966/03/27")];

function createRandomData(count) {
 _  var data_=_[], now = new_Date();

    for_(var i = 0; i <_count; i++)_{
 _      var firstName = firstNames[Math.floor(Math.random() *_firstNames.length)],
     _   _ _lastName_= lastNames[Math.floor(Math.random() *_lastNames.length)],
_ _      _ _city = cities[Math.floor(Math.random() * cities.length)],
 _   __     title_= titles[Math.floor(Math.random() * titles.length)],
  _    ___  birthDate = birthDates[Math.floor(Math.random()_* birthDates.length)],
    _  _    age = now.getFullYear()_-_birthDate.getFullYear();

     __ data.push({
    ___    _Id: i + 1,
  _        _FirstName: firstName,
 _    ___   LastName: lastName,
     _ _  _ City: city,
       _    Title: title,
 _          BirthDate:_birthDate,
       _    Age: age
 _   __ });
    }
 ___return_data;
}
<!-- --------------------------------------------------------------------------------- -->_
function onChangeSelection() {
_  _var selectedItem_= this.dataItem(this.select());
 _ _var Text =_'<h1><small>row_name=</small>' + selectedItem.FirstName + " " + selectedItem.LastName