This is a very nice way to print things out because you dont have to use the console, and you dont have to write out a. Format json data with colored syntax pretty print json. Then the same html will be converted to pdf file using the itextsharp html. Here i use click event as object, to use 3 ways to print out. The text can be configured using this option see buttons. This function is included inside the documentready function, which will prevent the function listed within the block from being invoked when the complete page is. Dynamic tree view plugin with jquery and bootstrap. How to generate a pdf with jquery saving web page content is a useful function to be able to integrate into your site and a very common requirement in web development.
Ive been trying to find an answer to this for a couple of days now, and cant seem to find one, so i am hoping for a little help here. We also managed to add and customize export button using button json object here. In buttons arary, we have passed excel, csv, pdf, print and copy options. To generate the binary data, use the specific functions that are exported to kendo. The pdf file will be embedded inside jquery dialog modal popup window using object tag.