Loading Message in Pivot Table

How can we show the loading message in pivot table ???

It will work for any data component

webix.ui({
	view:"pivot",
	on:{
		onBeforeLoad:function(){
			webix.message({ text:"Loading", expire:-1, id:"loading"});
		},
		onAfterLoad:function(){ webix.message.hide("loading"); }
	}

Of course, you can use any custtom message system, instead of the webix.message in the same way.

when i do this in the sample i can put an alert in the OnBefore/onAfter that will show but I never get a message box

The second line in onAfterLoad will hide message when the data available, if you are testing with local dataset, loading time may be very small and message will be hidden too fast to be even detected.