dojox.grid.datagrid - Reading data from a CSVStore in Dojo -


let's have csvstore connected editable grid:

var csvstore = dojox.data.csvstore({data: csvdata, separator: ","});  this._grid = new dojox.grid.enhancedgrid({   id: gridid,   store: csvstore,   structure: layout,    ... }); 

how can retrieve modified data stored in csvstore in csv format? i'm looking this:

var modifiedcsvdata = csvstore.getcsvdata(); 

i answered similar question other day. trying get data dojo store. in case in json, not csv. use same technique build object. instead of converting json, convert csv using array.join said in comment. glad help, , totally agree; missing use case of dojo store.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -