edit content xml in dhtmlxgrid

i need help, i loaded an xml in the dhtmlxgrid and i wnat to know how can i add or delete content (add rows, delete rows, edit content, add content in new rows…) directly from the grid to the xml, and i want to add the option to export it to a pdf and excel.

thanks beforehand.

You may use serialization functionality to save the changes in the grid to the xml:
docs.dhtmlx.com/doku.php?id=dhtm … ialization

Here is the tutorial about exporting grid to pdf/Excel: