I'm using PyGTK TreeView (as list) for my data. Is there any way to load more data on demand by going throu the list.
For example:
I have database table where is 200 000 records. At application start- loads 200 records from table. when i scroll download more data to treeView.
I believe you could do following:
Add empty lines to your model, I believe you should be using GtkListStore
For the treeview cell renderer define a data function.
In the data function check if current model row is loaded and load it from SQL if it's not. I guess you can use cashing here and load more then one row at once.
Below is an example of how to set up the data function:
....
hope this helps, regards