Skip to Content
0

How to refresh the LIST Element with new data

May 11, 2017 at 08:20 AM

23

avatar image

Hi,

I have a LIST element binded with JSON data on the initial display the data gets displayed.

<List id ="dispTab" headerText="Work Items" items="{path:'/tData'}">
<items>
<ObjectListItem title="{Tid}" number="{Zhours} hours">
<firstStatus>
<ObjectStatus text="{State}" />
</firstStatus>
<attributes>
<ObjectAttribute title="Notes" text="{Comments}" />
<ObjectAttribute title="Place" text="{Place}" />
</attributes>
</ObjectListItem>
</items>
</List>

After based on some date range my data changes the same doen't reflect on the LIST.

I have tried resetting the data and model to the view.

this.jmodel.setData(this.tinfo);
this.getView().setModel(this.jmodel);

Any suggestion will be helpful, thanks in advance.

Regards,

Narayan

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers