These are chat archives for angular/material

3rd
Nov 2017
Joshua Barnett
@synthecypher
Nov 03 2017 10:19
Anyone know why mdSelect adds $$mdSelectId to the value of its ngModel? And if you can get rid of I do not want that data on my model.
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);
    });