angular-gridster2 icon indicating copy to clipboard operation
angular-gridster2 copied to clipboard

Unable to integrate dom-to-image.js with angular-gridster2.js

Open swethasappati opened this issue 5 years ago • 4 comments

Using dom-to-image.js to Export dashboard content (using angular-gridster2.js). So I'm unable to see the data which is inside scrollbar(I can see only the visible area).

In dom-to-image.js given solution to export scrollbar content as well You can refer https://github.com/tsayen/dom-to-image/issues/183 https://jsfiddle.net/2m8dcr63/32/

The solution provided by dom-to-image is not working in gridster.js Please help me

swethasappati avatar Dec 25 '18 13:12 swethasappati

@swethasappati How are you fetching the image and the element that contains it? You can try to use @ViewChild or @ViewChildren to fetch all gridster elements, and then try to use native elements with the proposed solution on the jsfiddle you provided.

petarnikolovski avatar Dec 26 '18 15:12 petarnikolovski

Hi @swethasappati , I think it depends on your gridType option of the grid and what element you give to dom-to-image. Try to play around with the options here https://tiberiuzuld.github.io/angular-gridster2/gridTypes

tiberiuzuld avatar Dec 28 '18 09:12 tiberiuzuld

any final solution for this problem i am facing same..

anix9920 avatar Feb 10 '21 13:02 anix9920

iam aslo facing same issue Any one find the solution

anil957 avatar May 20 '22 08:05 anil957