Doubt--clarify

How many records maximum can dhtmlx can export to excel records.

There is no hardcoded limit, if you are using the local export script - it depends on local server memory limit. For online version - datasets up to 10 000 rows can be used for sure, with some reconfiguraton, it possible surpass this limit.