I could render all widgets in dashboard but vertically the widgets are not placed exactly in their position. I have investigated the gridstack.js library and I found that following css style properties are generated dynamically through JavaScript code but these properties are not applied on my widget elements.
.grid-stack-instance-???? .grid-stack-item[data-gs-y="?"]
.grid-stack-instance-???? .grid-stack-item[data-gs-min-height="?"]
.grid-stack-instance-???? .grid-stack-item[data-gs-height="?"]