JSFiddle

  • copy column from table to another table #1 is the latest revision

    and based on some condition values are append to second table

     rowCount = $('#table3 tr:last').index() + 1;
    
    row = rowCount + 1;
    var pivot_1 = 1001;
    var loop = 0
    
    //cellValue = $('#table3 td:eq('+i ...
  • sorting of html table #3 is the latest revision

    sorting of html table

    var pivot_2 = 1005;
    var pivot_1 = 1001;
    var order_2;
    //alert(order_2);
    var order_1;
    //alert(order_1);
    
       columnCount = $('#table3 td:last').index() + 1 ...
  • cumulative column data #1 is the latest revision

    jQuery 1.7.2, HTML, CSS, JavaScript

     colCount = $('#table4 td:last').index() + 1;
    
    var colcount_1=colCount;
    
    
    //var row_number=0;
    var cum_total=0;
    var  S_cumulative_total = "<tr><td style='width:30px;'>Cumulative</td>";
      for(var ...</tr>
  • jQuery Grid Export to Excel #3 is the latest revision

    Export Grid data to Excel. The sample illustrates how to export data to Excel using the jqxGrid widget by jQWidgets.

    
    
    
    var data = [];
        $("div#table3 tr").each(function() { 
        var arrayOfThisRow = [];
        var tableData = $(this).find('td');
        if (tableData.length > 0) {
            tableData.each ...
  • div border color #1 is the latest revision

    div has different border color

      
    $('.highlight').click(
    function(){
         $(this) .css({'border-color':'blue'})
        
         $('.highlight').not(this).each(function(){
                $(this).css({'border-color':'#dedede'});
            });
        
    });
    
    $('.highlight1').click(
    function(){
         $(this ...