Skip to Content
0
May 31, 2018 at 06:24 PM

How to refresh a table and send busy indicator

417 Views Last edit May 31, 2018 at 06:26 PM 2 rev

Hi community, i have some time triying to refresh my table but get an error: Uncaught TypeError: Cannot read property 'refresh' of undefined

var bDias = this.byId("bDias");
bDias.getModel().refresh(true);

and while is calling the odata an reading the response i'd like to send the busy indicator i sended it like this:

<Table 	id="bPromociones"
	inset="false"
	items="{/}"
	visible="false"
	enableBusyIndicator="true">

but just do nothing, be cause some entitys are a little bit so spend some time before load the data, maybe i miss something