Master Check box issue for Pagination

Hi ,
I have one datatable with pagination and datatable header contaion master check box. I have to check master check for paer page only. And it should be work on IE . I have one snippet which work on chrome not IE . Please suggest me a changes for master check box for a pagination.
Please go through snippet , suggest changes for IE. or send me other snippet.

note: should be work on IE for Huge data

Hi, @Ninad
AFAICS IE does not recognize arrow functions.
try to convert lines 73 and 114 to classic functions.
it should work.

thank you @integral , I Change code but now for huge data it gives performance issue . take 7-10 sec to chek all check box

https://snippet.webix.com/6uz2e1o2

@Ninad
change line 48
from

master.callEvent("onCheck", [obj.id, config.columnId, checked]);

to

master.callEvent("onCheck", [obj.id, config.columnId, checked, 1/*byMaster*/]);

@intregal , Thank you so much. now its working as expected