Hi,
I am adding panel using addpanel method.
let panel: PanelModel[] = [{
'id': this.count.toString(), 'sizeX': 1, 'sizeY': 1, 'row': 0, 'col': 0,
content:'<div style="text-align: right;" id="myDiv"><a class="classAdd"><img src="./assets/flex-images/outline_settings_black_24dp.png" alt=' + this.count.toString() + ' title="Update Component"></a><a class="classDel"><img src="./assets/flex-images/Delete_1.png" alt=' + this.count.toString() +' title="Delete Component"></a></div>'
}];
this.dashboard.addPanel(panel[0]);
//var value = this.dashboard.serialize();
in this value i am getting the panel position details of all the panels.
after this i am storingit in database.
but when I added new panel, previous panels position gets updated. How can I catch its updated position of changed panel postions and my new panel gets the harcoded position 1,1,0,0
please help