Hexagon Geospatial
MENU

GeoMedia Smart Client

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 63
Registered: ‎11-20-2015
Accepted Solution

Reload FormTable and stay on same page

[ Edited ]

Hi!

 

I've got a FormTable with rowcount=5. I switch to page 2 to  see the items 6 to 10.

Now I do a reload with Javascript. The FormTable is reloaded, but it displays page 1 again.

 

Is there any way to access the actual displayed page, before reloading and a way to set the page after reloading?

 

regards

Wolfgang

Highlighted
Staff
Posts: 800
Registered: ‎10-18-2015

Re: Reload FormTable and stay on same page

Hi Wolfgang,

 

you should be able to do it using something like

 

var grid = $("#formTableName").data("kendoGrid");
// before reloading the page			
currPage = grid.dataSource.page();
...
// after
grid.dataSource.page(currPage);

HTH,

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Contributor
Posts: 63
Registered: ‎11-20-2015

Re: Reload FormTable and stay on same page

Hi Stefano!

 

Thanks for the quick solution.

 

Wolfgang

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.