Closed mfarchana closed 10 months ago
based on the following documentation https://jspreadsheet.com/docs/dropdown-and-autocomplete
data: [ [1, 'Beatles'], [2, 'Beatles'], ],
can jspreadsheet store JSON data like this data: [ [{ id:'1', name:'Paul' }, 'Beatles'], [{ id:'2', name:'Ringo' }, 'Beatles'], ],
data: [ [{ id:'1', name:'Paul' }, 'Beatles'], [{ id:'2', name:'Ringo' }, 'Beatles'], ],
Thank you.
You can declare an array of strings or array of objects as follow: data: [ 'Beatles', 'Test' ], data: [ { id:'1', name:'Paul' }, { id:'2', name:'Ringo'} ],
based on the following documentation https://jspreadsheet.com/docs/dropdown-and-autocomplete
data: [ [1, 'Beatles'], [2, 'Beatles'], ],
can jspreadsheet store JSON data like this
data: [ [{ id:'1', name:'Paul' }, 'Beatles'], [{ id:'2', name:'Ringo' }, 'Beatles'], ],
Thank you.