jspreadsheet / ce

Jspreadsheet is a lightweight vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with other spreadsheet software.
https://bossanova.uk/jspreadsheet/v4
MIT License
6.77k stars 828 forks source link

$('#my').jexcel('getData', true) is not working for current cell value. #175

Closed gulshan-mittal closed 6 years ago

gulshan-mittal commented 6 years ago

How do we get the current cell value?

pphod commented 6 years ago

// Bring all highlighted cells $('#my').jexcel('getData', true);

// Bring data from the current focus $('#my').jexcel('getValue', $.fn.jexcel.selectedCell);

ak868308 commented 3 years ago
var listTbl = jspreadsheet(document.getElementById('student-list'), {
        search: true,
        pagination: 100,
        data: [],
});
var tableData = listTbl.getJson(true);

This returns empty array. Here I am setting the table data dynamically (Programmatically) while it return full table data without boolean parameter. Please help