Performance of filtering grid

When filtering a grid with text, does DHTMLX index all the text first?
What’s the time complexity of this filtering function?
Does this function work fast when there are thousands or millions of rows?

When filtering a grid with text, does DHTMLX index all the text first?
In case of client-side filters (default dhtmlxGrid filtration) filter indexes all the text.

What’s the time complexity of this filtering function?
Does this function work fast when there are thousands or millions of rows?
In this case at first time you will get the performance decreasing just loading and rendering such data in the dhtmlxGrid.
In such situation it is recommended to use the dynamic loading of data to the grid:
docs.dhtmlx.com/grid__dynamic_loading.html
And as the client-side filters cannot work with the dynamic loading you also need to use the server-side filters:
docs.dhtmlx.com/grid__dynamic_lo … otheserver