Author Topic: Getchanges returns no data on server side implementation  (Read 2597 times)

rahultmspl

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 3
    • View Profile
Getchanges returns no data on server side implementation
« on: April 27, 2020, 06:43:45 pm »
Param,

Everything was working fine if we integrate Grid with Client Side. Once we have implemented for Sever side. It has stopped returning Modified data on save changes button. It always returns blank. Can you please provide us parameters which to be present to get modify changes on Server side paging Grid or please advise what we are missing ?

Note : We have tried both infinite scroll and Pagination.

 Please find attached Angular Component.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Getchanges returns no data on server side implementation
« Reply #1 on: April 28, 2020, 09:40:13 am »
Please check these examples for post variables and server side response:

https://paramquery.com/pro/demos/editing_batch

https://paramquery.com/pro/demos/editing

Also use your web browser dev tools to debug / monitor the client server communication.

Please share a live example on Stackblitz if you are still facing issues.

rahultmspl

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Getchanges returns no data on server side implementation
« Reply #2 on: April 28, 2020, 12:24:04 pm »
Batch editing works with local paging or when no paging is used.
In case of remote paging, please refer to this example: Single row editing wherein only one record is added, updated and deleted in a single transaction.


We are using pageModel: { type: "remote", rPP: 20, strRpp: "{0}" },. Can you please allow batch editing on Remote Type page model ? Because we dont want to click on every time on each Row to Edit. And it will be time consuming and impact on productivity. Please suggest your expert advise on it.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Getchanges returns no data on server side implementation
« Reply #3 on: April 28, 2020, 10:35:58 pm »
Please check this new example on batch editing with remote paging.

https://paramquery.com/pro/demos/editing_remote_page

rahultmspl

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Getchanges returns no data on server side implementation
« Reply #4 on: April 29, 2020, 01:12:52 pm »
Param,

Thanks for the response. It is working on Paging, However its not working for infinite scrolling Server side grid.

Can you please look into ?

Thanks
« Last Edit: April 29, 2020, 01:15:11 pm by rahultmspl »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Getchanges returns no data on server side implementation
« Reply #5 on: April 30, 2020, 12:32:47 pm »
Please check this new example on batch editing with infinite scrolling.

https://paramquery.com/pro/demos/editing_infinite_scroll