Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Maintaining state of Tableview.

Hi All,

I am using a table view:

<htmlb:tableView id              = "material"
                                 headerText      = "Materials"
                                 headerVisible   = "true"
                                 design          = "alternating"
                                 visibleRowCount = "5"
                                 fillUpEmptyRows = "true"
                                 onRowSelection  = "MyEventRowSelection"
                                 selectionMode   = "MULTILINEEDIT"
                                 width           = "950"
                                 filter          = "SERVER"
                                 keepSelectedRow = "TRUE"
                                 iterator        = "<%= iterator%>"                               
 table           = "<%= itab_materials %>" />

Now suppose there are 500 record in itab_materials , so in table view footer i get 10 pages.

I navigate to some other page for eg. 8,select a row , enter values and save.

As soon as the page is refreshed, the first page is visible in layout,

How can i manage to keep the same page showing even after the page is refreshed..i mean if i

selected a row on 8 page and added some values and saved, then after refreshing , it should show the 8th page and not the first one.

One more query..is it possible to check , that a particular row is visible or not?

Thanks,

Anubhav.

Not what you were looking for? View more on this topic or Ask a question