Can't get the 'add' action after save requestType when the enableInfiniteScrolling is set to true

Helo Team, 

I am using the Grid component with version ^20.1.57, while I was trying to simulate data and do CRUD type operations, when performing an 'Add' operation from the Toolbar and saving it, the result of the actionBegin/actionComplete action is shown to me as 'edit ' instead of 'add'.

is this a new feature or bug?




2 Replies 1 reply marked as answer

JM Jayshankar Manoharan Syncfusion Team May 31, 2022 06:13 PM UTC

Hi Jean,


Greetings from syncfusion support,


We are currently working on your query, we will update further details on ​June 1, 2022.


Until then we appreciate your patience.


Regards,

Jayshankar Manoharan



JM Jayshankar Manoharan Syncfusion Team June 1, 2022 06:01 PM UTC

Hi Jean Michael,


Thanks for your Patience,


Query - Can't get the 'add' action after save requestType when the enableInfiniteScrolling is set to true.


We examined your query using the information you provided. We also created a sample in grid version ^20.1.57 with enableInfiniteScrolling set to true. While performing an 'Add' operation from the Toolbar and saving it, the result of the actionComplete action is shows correctly as ‘add’.


We also attached code sample and video demonstration for your reference.


[index.js]

 

actionComplete(args) {

    if (args.requestType == 'add') {

      console.log(args);

    }

    if (args.requestType == 'save') {

      console.log(args);

    }

  }

 


Sample - https://stackblitz.com/edit/react-jwddzn?file=index.js


Please get back to us if you need further assistance on this.


Regards,

Jayshankar Manoharan.


Attachment: add_action_after_saveRequest_type_3a323079.zip

Marked as answer
Loader.
Up arrow icon