Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by frojo on Sep 18, 2009 11:58
open dhtmlx forum
error "_LOCATE" on Filter

<link rel="STYLESHEET" type="text/css" href="../dhtmlxGrid/dhtmlxGrid/codebase/dhtmlxgrid.css">
<link rel="STYLESHEET" type="text/css" href="../dhtmlxGrid/dhtmlxGrid/codebase/ext/dhtmlxgrid_pgn_bricks.css">

<script src="../dhtmlxGrid/dhtmlxGrid/codebase/dhtmlxcommon.js"></script>
<script src="../dhtmlxGrid/dhtmlxGrid/codebase/dhtmlxgrid.js"></script>
    <script src='../dhtmlxGrid/dhtmlxGrid/codebase/ext/dhtmlxgrid_pgn.js'></script>    
    <script src='../dhtmlxGrid/dhtmlxGrid/codebase/ext/dhtmlxgrid_filter.js'></script>    
<script src="../dhtmlxGrid/dhtmlxGrid/codebase/dhtmlxgridcell.js"></script>

    <script src='../dhtmlxGrid/dhtmlxDataProcessor/codebase/dhtmlxdataprocessor.js'></script>    

<script src='../dhtmlxGrid/dhtmlxConnector/connector.js'></script>
</head>
<body>
<div id="gridbox" style="width:500;height:600" ></div>
<div id="pagingArea"></div>

<script>
    var grid = new dhtmlXGridObject('gridbox');
    grid.setImagePath('dhtmlxGrid/codebase/imgs');
    grid.setHeader("Columna A, Columna B");
    grid.setInitWidths("250,250");
    grid.enableAutoWidth(true);
    grid.setColTypes("ed,ed");
    grid.setColSorting("str,int");
    grid.enablePaging(true,50,10,"pagingArea",true);
    grid.attachHeader("#text_filter,#text_filter")
    grid.setColSorting("connector,connector")
    
    
    grid.init();
    
    grid.setSkin("modern");
    grid.loadXML("connector.php");

    grid.enableSmartRendering(true);
    grid.setPagingSkin("bricks");
    var dp = new dataProcessor("connector.php");
    dp.init(grid);
</script>

filter when the error shows "_LOCATOR"
EI7
line 5372
error: '_locator' is null or is not object
Answer posted by dhxSupport on Sep 23, 2009 03:41
If you are using dhtmlxConnecotors you should use #connector_select_filter instead of #select_filter. 
Also please check if you are using latest version of dhtmlxConnectors (0.95)