Second Grid Not Sending Data to Server

Problem:
From a web page .html with two ZingGrid tables, the second table doesn't data to server when I applied the updateOptions, no trace available from server. Any ideas why this is happening?
TEST2.html

Solution:
We've created you a ZingGrid demo with a basic server(using node and express) showing how to use updateOptions for updating a cell or row. One issue I noticed with your HTML file though is that you are using PATCH (for cell) and this nullifies the need for you to set updateOptions as that is the default for update on a cell. Generally, If you are using PUT (for row)/PATCH (for cell) you don’t need to set updateOptions as those are already the defaults for update accordingly. In the demo, I used PATCH(for row) and the data is sent to the server appropriately.

You might also need to replace on the second ZingGrid table, data= by src=[url]

NB: To run the app:

  1. Install the dependencies npm install
  2. Run the server with npm start and visit http://localhost:8000/

I hope this help. Don't hesitate to reach out in case you have more questions.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us