Hi RakhiS,
Greetings from Syncfusion support.
We have checked your attached query. We suspect that your requirement is to save the panel position to the database. In DashboardLayout component, we have provided a serialize() method. Using this method, you can get the exact panel position properties ( SizeX, SizeY, Row, Col, Id ). You can save these details to the database.
In DashboardLayout component, we have not updated header and content value in our component side. Because, the content may be vary (chart, grid). You can manually save the content based on your requirement.
Refer the below code snippet.
|
GetDashboardValue(): void {
// you can get the panel position value.
var value = this.dashboard.serialize();
console.log(value);
} |
Refer the below screenshot.
For your reference, we have prepared a sample.
To know more about the serialize() method. Refer the below link.
Unfortunately we are unable to get your exact requirement with your provided information. If the provided solution does not met your requirement, then can you please share the detailed information regarding your requirement. It will helpful for us to resolve your issue at earliest.
1. Exact requirement.
2. Which data is passed in json format.
Please let us know, if you need any further assistance.
Regards,
Sowmiya.P