0

cells are appending the exisitng cells in grid while reloading

Hi,

I am having list of packages in sidebarview. clicking on first package displaying channels in 4 pages (which is correct). When I go back and clicking on second package displaying channels in 7 packages ( which should display actually in 4 pages). Some how it is persisting the previous cells in the grid and adding new data. How to clear the grid cells on each loadview.

Regards
Swarupa

by
3 Replies
  • CODE
    this.mygirs.changeDataset([my, new,array],(where to reset the page index),totaldatacount);


    check out page 197 of the WDK PDF dealing with KONtx.element.Grid()
    0
  • CODE
    this.mygrid.changeDataset([my, new,array],(where to reset the page index),totaldatacount);
    0
  • Just clear the array before fetching new data (Array= [];) and the change the grid dataset with the new array.
    0

Recent Posts

in Getting Started / Beginners - Yahoo! TV Widgets