problem with filtering

Hi, I’m sorry if this is a duplicate, but I couldn’t manage to find ananswer to my problem, so I decided to write a post about it.

I want to use both dynamic loading using my own server side code and browser side filtering.

I am using standard version 4.2 of dhtmlx.

code on my site looks somewhat like this:

<!DOCTYPE html>
    <script src="dhtmlx/dhtmlx.js"/></script>
    <link rel="stylesheet" href="dhtmlx/dhtmlx.css"/>
    <div id="dhtmlxGrid" style="width: 100%; height: 666px;"></div>
    <script type="text/javascript">
        dhtmlxEvent(window, "load", function(){
            var mygrid = new dhtmlXGridObject("dhtmlxGrid");
            mygrid.enableSmartRendering(true, 50);

gridDataProvider is returning XML batches of rows to display (I want to use dynamic loading).
Only first batch has headers configuration options.
Returned XML looks somewhat like:

<?xml version="1.0"?>
<rows total_count='500' pos='0'>
    <column width='160' type='ro' align='center' id='foo' sort='str'>foo</column>
    <column width='160' type='ro' align='center' id='bar' sort='str'>bar</column>
        <call command="attachHeader">
<row id='123456'>

Everything is rendering normally and my data provider for dynamic loading works.
Each time I start typing in attached filter input nothing happens, and browser console tells me:

TypeError: c is null

I managed to determine, that disabling smart rendering fixes the issue, but it also disables dynamic loading, which I want enabled. Any ideas how to fix that?

In case of using the dynamic loading you need to implement the server-side filtering.
Here you can find a tutorial: … otheserver

Bummer :neutral_face:
Anyway, thanks for the answer sematik.