cancel
Showing results for 
Search instead for 
Did you mean: 

How to refresh the LIST Element with new data

uppu_narayan
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (0)