master check box and enabled smart rendering.

Looking to override the master check box functionality when enable smart rendering is enabled.

When enable smart rendering is enabled - let’s say to only render X # of rows at a time.
Selecting master checkbox - selects X rows, I am looking to override this functionality, so that ‘Bulk’ actions can be applied to ALL of the rendered and non rendered rows of data.

I understand I can modify following logic, but my attempts to override this thus far have been unsuccessful, thus, requesting assistance:

dhtmlXGridObject.prototype._in_header_my_master_checkbox=function(t,i,c) { t.innerHTML=c[0]+"<input type='checkbox' />"+c[1]; var self=this; t.getElementsByTagName("input")[0].onclick=function(e){ self._build_m_order(); var j=self._m_order?self._m_order[i]:i; var val=this.checked?1:0; self.forEachRowA(function(id){ var c=this.cells(id,j); if (c.isCheckbox()) { c.setValue(val); c.cell.wasChanged = true; } this.callEvent("onEditCell",[1,id,j,val]); this.callEvent("onCheckbox", [id, j, val]); }); (e||event).cancelBubble=true; } }

It seems similar attempt or question has been asked in a different context.

viewtopic.php?f=2&t=24797

Looking at the earlier response
“As for master checkbox - it possible to modify it, to process all rows, but it will remove most part of performance gained by smart rendering mode.”

I assume the master checkbox functionality can be overloaded, such that it notates the user intent (i.e. applicable to all data).

However, in case of bulk operation (e.g. deletion, activation, deactivation, etc. ) to be applied to all selected data, when the data is processed by the server (i.e. the composed SQL query will be applicable to all such data all the while maintaining appropriate filters in the where clause.

From your experience, please suggest, the best approach.

in case of static smart rendering all rows in the grid should be check using the master_checkbox.
Please, check the version of your dhtmlxGrid.

The version I have is 3.5.
I have to work with large amount of rows in range of 23K or higher.

To my knowledge static smart rendering is not suitable for large datasets. Instead I am using Dynamic smart rendering.

In case of dynamic loading customization of the master checkbox is not available.