Unresponsive Script on checking master checkbox

I have a dhtmlxgrid with 50K rows. When i click on master checkbox button, it displays a dialog box with warning unresponsive script message. Is there any way to avoid this warning pop up?

The only way is to change the code in the dhtmlxgrid_filter.js.
Please, find the following string:


and replace it with:


It will make the checkbox to be applied to the rendered rows only.
Unfortunately this is the only solution.