These are chat archives for AngularClass/angular2-webpack-starter

3rd
Nov 2017
Adson Vinicius
@adsonvinicius_twitter
Nov 03 2017 14:03

Is that possible in amg-polygon?

[fillColor]="getFillColor(m.cod)"

*agm
texirv0203
@texirv0203
Nov 03 2017 19:43

@all hi,

  • I am trying to refresh the particular div win1.
  • I tried in both the ways refresh and setInterval but its not working.
  • any idea how to fix it.
  • providing code below

http://jsfiddle.net/csus39ow/


$("#open1").click(function () {
        $("#win1").show().kendoWindow({
            width: "300px",
            height: "500px",
            modal: true,
            title: "Window 1"
        });

        $('#win1').data('kendoGrid').refresh();

        setInterval(function () {
            var randomnumber = Math.floor(Math.random() * 100);
             debugger;
            console.log("I am here");
            //$('#win1').text('I am getting refreshed every 3 //seconds..! Random Number ==> ' + randomnumber);
        },
            1000);
    });