Here is an example
What I want is to be able to send all my tree that is selected with the add button
Support Forum
implement the code but I get an empty array,
And reviewing the reference I realized that in my BryntumGrid component I don't have the direct method, does it have to be configured somewhere to be able to activate it?
I attach the Json with the components that the reference shows me
- Attachments
-
- json.PNG (96.13 KiB) Viewed 1047 times
Please see gridInstance on the screenshot you attached. It has the API Mats mentioned earlier. Please learn this guide: https://www.bryntum.com/docs/grid/#guides/integration/react.md#accessing-the-grid-engine
Also please check out how to ask for help: viewtopic.php?f=35&t=772
To create a testcase you can always modify one of our demos, zip it up and attach here.
Cheers!
Pavlo Miklashevych
Sr. Frontend Developer
Thank you very much already solved the problem.
The solution was to search the instance and from there delete my data.
const selection = inputRef.current.gridInstance.store.remove(inputRef.current.gridInstance.selectedRecords);
I leave attached the code that I use to be able to eliminate the selected data in my main grid