Ignore:
Timestamp:
10/04/15 11:51:12 (6 years ago)
Author:
mjuckes
Message:

fixed data file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • clipcs/trunk/html/trial/header-row2.html

    r310 r314  
    2323    } 
    2424  </style> 
    25 <script src="slickData.js" type="text/javascript"></script> 
     25 
    2626</head> 
    2727<body> 
     
    5353<script src="/js/SlickGrid/slick.grid.js"></script> 
    5454 
     55<script src="slickData.js"></script> 
    5556 
    5657<script> 
     
    7273 
    7374 
     75  var data = getData(); 
    7476  function colFilter( t, s ) { 
    7577          var res = t.split(" "); 
     
    9496      if (columnId !== undefined && columnFilters[columnId] !== "") { 
    9597        var c = grid.getColumns()[grid.getColumnIndex(columnId)]; 
    96         var t = columnFilters[columnId] 
    97         var s = item[c.field] 
     98        var t = columnFilters[columnId].toLowerCase() 
     99        var s = item[c.field].toLowerCase() 
    98100        if (t.substr(0,1) == '$') { 
    99101          if ( s.substr(0,t.length-1) != t.substr(1,t.length) ) { 
Note: See TracChangeset for help on using the changeset viewer.