Skip to content

Instantly share code, notes, and snippets.

View mubin986's full-sized avatar
:octocat:

Shariful Islam Mubin mubin986

:octocat:
View GitHub Profile
let headers = [];
document.querySelectorAll('.tabulator-col').forEach(header => {
let text = header.innerText.trim();
headers.push(text || ''); // Handle empty headers
});
let rows = [];
document.querySelectorAll('.tabulator-row').forEach(row => {
let rowData = [];
row.querySelectorAll('.tabulator-cell').forEach(cell => {