
Originally Posted by
premkumar
agentlame,
i understand the simple case of adding one item to the list. The web page I'm scrapping is paginated. at onload , I'll grab the first page.I want to fetch the second page only if I need to( say I'm scrolling & out of items to be displayed) . Which call event should I need to define for this.
Something like this should work:
Code:
<ondown lang="python"><![CDATA[
if len(itemList) == contentList.GetFocusedItem():
populate_next_page() #method that gets next page and populates list.
]]></onload>
You would put this in the <ondown> of your list control.
Bookmarks