1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    235
    Vote Rating
    0
    chandan.behura is on a distinguished road

      0  

    Default print

    print


    How to achieve the print functionality in Extjs.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    7,183
    Vote Rating
    194
    scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold

      0  

    Default


    There are is a wide range of answers to this.

    Client side or server side?
    Do you want to print something specific? grid, form?
    http://www.sencha.com/forum/showthread.php?146348
    https://github.com/loiane/extjs4-ux-gridprinter

    Server side would depend on your language .. and the desired output: PDF, XLS.. etc.
    http://phpexcel.codeplex.com/
    http://www.phpdoc.org/
    http://itextpdf.com/ (java;pdf)
    http://jasperforge.org/projects/jasperreports

    Server side provides more control.

    Scott.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    235
    Vote Rating
    0
    chandan.behura is on a distinguished road

      0  

    Default


    I want to print a grid in Client side

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    7,183
    Vote Rating
    194
    scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold

      0  

    Default


    The first 2 links provide this feature.

    Scott.

  5. #5
    Sencha User
    Join Date
    Jul 2012
    Posts
    235
    Vote Rating
    0
    chandan.behura is on a distinguished road

      0  

    Default


    Quote Originally Posted by scottmartin View Post
    The first 2 links provide this feature.

    Scott.
    I tried from these link but ....got so many errors.Unable to find the linkButton from the external .js file


    Can u guide me how to use and what to use.? am realy confused how i will use these files.

  6. #6
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    7,183
    Vote Rating
    194
    scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold

      0  

    Default


    You should include the JS/CSS files in your HTML file so they are available.

    The best option is to try and get the example running and see how it is implemented.

    The

Tags for this Thread