clearAll() on datatable is giving " Invalid Argument " error in IE8

Hi,

I am doing Webix and Angular JS integration in project.
I am trying the following code on datatable present in view :
root.$$(“quotationsRecordsDT”).clearAll();

It gives " Invalid Argument " error in IE8 but no error in chrome and mozilla browsers

Thanks in anticipation.

Any help…

The same code works correctly for me ?
Can you share a sample or a demo link where problem can be checked ?

Hi Maksim,

The code is somewhat same as shown in snippet shared by you : http://webix.com/snippet/246a391f

Even this snippet is not working in IE8 gives script error.

Apart from the snippet code, i have added just added a clearAll() code in controller :

// function specified in webix-ready attribute in html

$scope.loadAppletData = function(root) {

						// clearing previous data
						if(root.$$("quotationsRecordsDT").count() > 0){
							root.$$("quotationsRecordsDT").clearAll();
						}

};

Any suggestions…

I have used the same code and it works for me :frowning:
Please be sure that you are using latest angular.js from 1.2.x branch ( 1.3 doesn’t work with IE8 , and older 1.2 versions also can have problems with IE )

If issue still occurs - please provide any kind of sample where problem can be checked.