Pagination Navigation
Hi,
In my home screen I am using a paging widget for my grid in which double clicking each row navigates to another mashup.For example when I navigate from page 2 of my grid by clicking a row to another new mashup and return back to my home screen I need the grid values of page 2 to still be displayed.But instead the page 1 gird values are displayed by default.I tried passing the current page number as a parameter from my service to the navigated mashup and back to the home screen mashup but it doesn't work.I have attached my service below. How do I achieve this?
Inputs : deviceListInfotable,currentPage,pageSize
Outputs: Infotable with Datashape "PaginationDS"
Bindings: Widget's PageSize to service's pageSize
Widget's PageNumber to service's currentPage
var dataShort = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape( {
infoTableName : "InfoTable",
dataShapeName : "DeviceListDS" });
for( var x = ( currentPage * pageSize ); x < deviceListInfotable.getRowCount() && dataShort.getRowCount() < pageSize; x++ )
{
dataShort.AddRow( deviceListInfotable.getRow( x ) );
}
var result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape( {
infoTableName : "InfoTable",
dataShapeName : "PaginationDS" } );
}

