CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Rendering the spreadsheet

by XenoG » 31 Jul 2017 21:06

Hi, I'm having problems getting the TIWCGJQSpreadSheet component to render unless it is currently shown.

I call IWCGJQSpreadSheet->ResetJSonProps(); IWCGJQSpreadSheet->Import(filename); IWCGJQSpreadSheet->AjaxReRender();

If the spreadsheet component is shown in the browser, the spreadsheet changes correctly. If another form is in focus, then the default spreadsheet (cols A-J, rows 1-25) is shown when I later navigate to the spreadsheet. If I'm on the same form, but the spreadsheet is on a tab that is not in focus, then I get a blank spreadsheet with no cells.

Is there something I need to do to ensure that the spreadsheet is updated even if it is not currently shown?

Thanks in advance.

Richard
XenoG
 
Posts: 36
Joined: 15 Nov 2016 15:04

by Alexander Bulei » 04 Aug 2017 09:24

Hi XenoG,

Well...it's a internal behavior of jquery plugin..., just make sure, you import the data when component/control is visible...in case of tabs, do the import OnShow event.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQSpreadSheet

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.