How To Validate Max File Size Using Javascript Datatable Custom Export

How To Validate Max File Size Using Javascript Datatable Custom Export