Kendo Q2 2013 sort on ip
This is a test to sort ip addresses in a column to see if we still need to alter kendo's source code.
by sparksterz
HTML
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.3.1315/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.3.1315/styles/kendo.default.min.css">
<script src="http://cdn.kendostatic.com/2013.2.716/js/kendo.all.min.js"></script>
<div id="grid"></div>
JavaScript
var newInfo = [{
"AssetGuid": "1fa6fb00-610d-4daf-8980-a10900c08704",
"Manufacturer": "Xerox",
"Model": "WorkCentre 5645",
"ModelAdministrativeNotes": "",
"SerialNumber": "WTC656237",
"MacAddress": "00:00:AA:7C:E9:A5",
"IPv4Address": "10.1.1.45",
"DeviceLocation": "Support Area",
"FirstDiscoveredDate": "/Date(1352911258000)/",
"AgentDescription": "IP Range Testing",
"OutputAssetGuid": "b079aca0-78c6-495c-827f-a10900c08704",
"ModelID": 29232,
"Region": "Xerox Device",
"Site": "",
"Building": "",
"Floor": "1",
"Department": "Engineering",
"AssetNumber": "",
"LastContactDate": "/Date(1374124511000)/",
"Meters": {
"LifeCount": 7273,
"LifeCountMono": 7273,
"LifeCountColor": 0,
"PrintCount": 0,
"PrintCountMono": 5460,
"PrintCountColor": 0,
"CopyCount": 0,
"CopyCountMono": 1813,
"CopyCountColor": 0,
"FaxCount": -1,
"ScanCount": -1,
"DuplexCount": 0,
"LetterA4Count": 0,
"LedgerA3Count": 0,
"LegalCount": 0,
"LifeCountConfidence": 3,
"LifeCountConfidenceText": "Mono-only device. Set mono life count meter from life count total meter",
"MeterReadDate": "/Date(1374124480000)/"
},
"NewIn30Days": false,
"ActiveIn30Days": true,
"FirstDiscoveredDateFormatted": "11/14/2012 11:40:58 AM",
"LastContactDateFormatted": "7/18/2013 1:15:11 AM",
"IPv4AddressRaw": "010.001.001.045",
"Meters_LifeCount": 7273,
"Meters_LifeCountMono": 7273,
"Meters_LifeCountColor": 0,
"Meters_PrintCount": 0,
"Meters_PrintCountMono": 5460,
"Meters_PrintCountColor": 0,
"Meters_CopyCount": 0,
"Meters_CopyCountMono": 1813,
...