Thursday, January 18, 2018

Switching Div every 3 min with Angular JS

<!DOCTYPE html>
<html>
<script
<body>

       <div ng-app="myApp" ng-controller="myCtrl">

              <button ng-click="myFunc()">Click Me!</button>
              <h1>{{theTime}}</h1>
              <div ng-show="showMe">errors (e.g., a thermometer reading from
                     an outdoor Arctic location recording a tropical temperature). Data
                     processing commonly occurs by stages, and the "processed data" from
                     one stage may be considered the "raw data" of the next stage. Field
                     data is raw data that is collected in an uncontrolled "in situ"
                     environment. Experimental data is data that is generated within the
                     context of a scientific investigation by observation and recording.</div>
              <div ng-show="hideMe">
              <table >
    <thead>
      <tr>
        <th>Firstname</th>
        <th>Lastname</th>
        <th>Email</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>John</td>
        <td>Doe</td>
        <td>john@example.com</td>
      </tr>
      <tr>
        <td>Mary</td>
        <td>Moe</td>
        <td>mary@example.com</td>
      </tr>
      <tr>
        <td>July</td>
        <td>Dooley</td>
        <td>july@example.com</td>
      </tr>
    </tbody>
  </table>
                    
                     </div>
                    
                    

       </div>

       <script>
              var app = angular.module('myApp', []);
              app.controller('myCtrl', function($scope, $interval) {
                     $scope.showMe = true;
                     $scope.hideMe = false;

                     $scope.theTime = new Date().toLocaleTimeString();
                     $interval(function() {
                           $scope.theTime = new Date().toLocaleTimeString();
                           $scope.showMe = !$scope.showMe;
                           $scope.hideMe = !$scope.hideMe;
                     }, 3000);
              });
       </script>

       <p>Click the button to show/hide the menu.</p>

</body>
</html>


High Charts Combination

Tree View in JQuery

 Tree View   good 

Simply Super Tree View 






from the above :: find the following ::

Select/Deselect Handlers

Want to be notified any time a checkbox changes state as the result of a click? Use the ivh-treeview-on-cb-change attribute. Your expression will be evaluated whenever a node checkbox changes state with the following local variables: ivhNode, the node whose selected state changed; ivhIsSelected, the new selected state of the node; and ivhTree, the tree ivhNodebelongs to.
You may also supply a selected handler as a function (rather than an angular expression) using ivh-treeview-options or by setting a global onCbChange option. In this case the function will be passed a single object with ivhNode, ivhIsSelected, and ivhTree properties.
Note that programmatic changes to a node's selected state (including selection change propagation) will not trigger this callback. It is only run for the actual node clicked on by a user.
<div ng-controller="MyCtrl as fancy">
  <div
    ivh-treeview="fancy.bag"
    ivh-treeview-on-cb-change="fancy.otherAwesomeCallback(ivhNode, ivhIsSelected, ivhTree)">
</div>


Regards
Naga
+91 9632309795


Data Table with Angualar JS

High Charts with AngularJS


High Charts Example Site with Angular js

Real Example



Algorithms and Data Structure

This site will help us to learn the Algorithms and data Structures .


JQuery Conform and Alerts

Recent Post

Databricks Delta table merge Example

here's some sample code that demonstrates a merge operation on a Delta table using PySpark:   from pyspark.sql import SparkSession # cre...