简体   繁体   中英

drag and drop from grid to grid in DHTMLX

I want to save the changes made in grids through drag and drop method without linking to server.When I refresh the window the changes made have to be saved to the grid.

I have loaded the grids with 2 different xml data and saved the id's of dragged text in local storage.

Unfortunately such feature is not available without using of dataprocessor. I may suggest you to serialize your grids, and store the serialized data in your local storage, so after the page reloads you will load data from the serialized XML: http://docs.dhtmlx.com/doku.php?id=dhtmlxgrid:grid_serialization

or you may move your dragged rows manually after the page reloads using the moveRow() method: http://docs.dhtmlx.com/doku.php?id=dhtmlxgrid:api_method_dhtmlxgridobject_moverow

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM