.serialize();

Hi.
I have a data table that i copy and paste data into. I now want to send the data to a servlet via ajax. i have done var data = table..serialize();. Is this the best way or is there some other conversion that needs to happen.

Comments

  • edited May 2018

    Hello,

    Yeap, that's right, but with a small note: the serialize() method returns a filtered dataset.

    So I can recommend you to use serialize(true): https://snippet.webix.com/ffpg6ti7

  • Thank you. Got it working fine. With the ajax call. Is there a way to stream feedback. The data is sent to a servlet, the servlet loops thru the data and imports it. I would like to stream progress back. Currently i can only get the final return from the post.ajax.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion