PageSourceSearch

https://vrqa.vic.gov.au/StateRegister/Scripts/DataTableHelper.js

js vrqa.vic.gov.au collected 2026-10-02 16:42:02 UTC 679 bytes, 24 lines download raw bytes

1function DataTableHelperClass() 
2{
3    this.RegisterCheckBoxSortType = _RegisterCheckBoxSortType
4}
5
6/* Creates an array with the values of all the checkboxes in a column */
7function _RegisterCheckBoxSortType(SortDataTypeName)
8{
9    $.fn.dataTableExt.afnSortData[SortDataTypeName] = function  ( oSettings, iColumn )
10    {
11        var aData = [];
12        $( 'td:eq('+iColumn+') input', oSettings.oApi._fnGetTrNodes(oSettings) ).each( function () {
13	        aData.push( this.checked==true ? "1" : "0" );
14        } );
15        return aData;
16    }
17}
18
19var DataTableHelper;
20
21function DataTableHelperInit()
22{
23    DataTableHelper = new DataTableHelperClass();
24}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.