I read this topic:
viewtopic.php?t=53056
and the API Reference to understand that DataGrid can use getJSON() to retrieve the current DataGrid data.
However, my DataGrid is part of a Dashboard, and I accessed the DataGridComponent using board.getComponentByCellId().
Is there a similar method available in DataGridComponent to retrieve the data?
Here’s my component option:
Code: Select all
{
renderTo: "dashboard-col-2",
connector: {
id: "micro-element",
},
type: "DataGrid",
sync: {
highlight: true,
visibility: true,
},
dataGridOptions: {
credits: {
enabled: false,
},
},
}