Hi,
I am using table view iterator in MVC approach. I created a global class for iterator and then I made it an attribute of my model class. I am instantiating the iterator in the DO_REQUEST just before calling my view. something like below...
WHEN 'view1.htm'.
CREATE OBJECT model->iterator.
view = create_view( view_name = 'view1.htm' ).
view->set_attribute( name = 'model'
value = model ).
call_view( 'view1.htm' ).
When I do this the table view is displayed as expected with around 20 rows of data. I have set the max visible row count to 3 to test the scroll functionality. The issue is when I scroll to the next page the data just vanishes and only the first 3 records remain in the table view (and it shows page 1/1). I am not sure what's causing this issue. Its working fine when I am not using any iterator. Below is my table view code...
<i><b> <htmlb:tableView id = "tab1"
headerVisible = "TRUE"
headerText = "Flight Details"
selectionMode = "LINEEDIT"
fillUpEmptyRows = "TRUE"
visibleRowCount = "3"
table = "//model/flight"
iterator = "<%=model->itr%>"
filter = "SERVER" /></b></i>
Thanks