[SOLVED] Integration JS Widget - How to get values from Widget

Answered
0
0

Hi.

I have an application that uses SpreadJS as Java Widget.

I´m loading data from WiseJ and need  to get the data from widget into WiseJ Form.

I try everithing, but confess that I can´t get any other idea.

Could you give me a way ?

Follow the sample project.

Regards,

 

Marcelo Blank

 

 

 

 

 

 

 

 

  • You must to post comments
Best Answer
0
0

Marcelo,

2 things that should get you on the right track:

a [WebMethod] should be declared as public, not private.

As you define it on the window1 level you should call it as

this.getParent().GetValues(“Ok”);

Best regards,
Frank

  • MARCELO BLANK
    Greate Frank … that right … Best Regards
  • You must to post comments
0
0

Follow the project with a Widget in a form and the widget into an userControl …

  • You must to post comments
0
0

Frank, When I use the widget inside an userControl , the call “this.getParent().GetValues(“Ok”)” doesn´t works … gives an error  …

I need to use the widget inside a user control … is there an way to do it ?

 

Regards

 

Marcelo Blank

Attachment
  • You must to post comments
0
0

Frank,

By mistake I send a licensed version of SpreadJS in the sample.

Could you please delete the zip file ?

Regards,

Marcelo Blank

 

 

 

  • Frank (ITG)
    Hi Marcelo, I have removed the zip. Best regards, Frank
  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.