Categories | Question details Back To List | ||
We have our own AJAX / DB mechanisms in place, and we would like to just load our Javascript XML Dom object directly into the grid. Is there a function that will allow us to do this? I know it will break the dynamical loading ... We have our own
Answer posted by Support on Mar 29, 2007 19:08 >>we would like to just load our Javascript XML Dom object directly into the grid You can load an XMLDom object directly to grid parser by grid.parseXML(XMLDocObject); This functionality must work for any static mode without any back side effects. >>is it possible to set and get the grid's data model and will the grid's view directly change my model, or is there some kind of internal model? Grid doesn't use XMLObject as inner model, it uses data from it to create a HTML layout and store most data directly within HTML. If you want to get the state of all grid you can use grid.serialize() Which returns the grid model as XML string ( not object ) , the format of XML is exactly the same as used for grid initialization ( It also possible to get it as text in CSV format by grid.serializeToCSV() ) >>Does the .addRow method make internal copies of the row data It creates an internal copy Answer posted by Darya (Support) on Dec 06, 2014 14:22 If you haven't found the needed information there and still looking for a solution, you will find the additional help checking html5 web app and html editable table. |