1. #131
    Sencha User
    Join Date
    Jun 2008
    Posts
    157
    Vote Rating
    0
    wiznia is on a distinguished road

      0  

    Default


    mmmm, I can't find anything worng with the code. I know it had some problems with custom columns, and with the groupheader plugin, but yours is pretty straightforward.... Try debugging it.

  2. #132
    Ext JS Premium Member pavanextjs's Avatar
    Join Date
    Jul 2008
    Posts
    118
    Vote Rating
    2
    pavanextjs is on a distinguished road

      0  

    Default


    OK i will try to debug it.

  3. #133
    Touch Premium Member
    Join Date
    Feb 2011
    Location
    NJ
    Posts
    311
    Vote Rating
    52
    droessner is a jewel in the rough droessner is a jewel in the rough droessner is a jewel in the rough

      0  

    Default


    wiznia,

    Thanks for porting this plugin. Iv'e had it installed for a couple of months now and it's been working great. I just recently noticed that there seems to be an issue with this plugin when using Ext.History. However, this seems to be an issue only in Internet Explorer (I'm using IE8). It looks like when the button is rendered, the title of my page is changed to my title + the history link. I added the plugin to the history example, and after the button is rendered the page looks as follows (notice the title).

    afterrender.jpg

    When I click on the button, the title is changed again. See below:

    afterclick.jpg

    I've done a little debugging and as far as I can tell it may be swfobject.js that is causing this title change. I'm a little hesitant on changing swfobject so I figured I'd ask if this is something that you've come across and/or if you have any suggestions on what changes I could make to fix this issue.

    Any help is appreciated!

    Thanks,
    Danny

  4. #134
    Sencha User
    Join Date
    Jun 2008
    Posts
    157
    Vote Rating
    0
    wiznia is on a distinguished road

      0  

    Default


    I have no idea what could be changing the title... It only happens when you use Ext.History?
    I doubt it's a swfobject issue, since it's widely used, but I really don't know what could be causing the issue... sorry.

  5. #135
    Touch Premium Member
    Join Date
    Feb 2011
    Location
    NJ
    Posts
    311
    Vote Rating
    52
    droessner is a jewel in the rough droessner is a jewel in the rough droessner is a jewel in the rough

      0  

    Default


    I actually just created a simple grid (without any of the Ext.History stuff) and added the exporter button and then just added "#text" to the end of my url and it still happened. I guess I'll keep digging, thanks anyway!

  6. #136
    Sencha User
    Join Date
    Feb 2012
    Posts
    1
    Vote Rating
    0
    BlackLine is on a distinguished road

      0  

    Default


    Hi, wiznia.
    I'm using your plugin and it works fine, thank you!

    But I have a question about button - can I use there a simple button, without underlying png-image?
    Could you tell me what code I should change to do it?

  7. #137
    Sencha User
    Join Date
    Jun 2008
    Posts
    157
    Vote Rating
    0
    wiznia is on a distinguished road

      0  

    Default


    droessner, it only happens in IE? Can you post an example code?

    BlackLine, you can't use a simple ext button, because the png is there to allow the download of the file (via downloadify). In previous versions a regular button was used, and a data-uri link but there's no support for data-uri in older browsers and there's a limit on the size of the data-uri that made browsers crash when the file was too large.

  8. #138
    Touch Premium Member
    Join Date
    Feb 2011
    Location
    NJ
    Posts
    311
    Vote Rating
    52
    droessner is a jewel in the rough droessner is a jewel in the rough droessner is a jewel in the rough

      0  

    Default


    Yes, I've only seen this issue come up in IE. I'm using IE8. Here is a really simple example. When you run this just add "#text" to the end of the url and load the page. When I initially load the page it adds "#text" to the title. When I click on the button it changes the title to just "#text"

    Code:
    <!DOCTYPE html>
    <html>
    <head>
        <title>Exporter Example</title>
        <link rel="stylesheet" type="text/css" href="../ext/resources/css/ext-all.css"/>
        <script type="text/javascript" src="../ext/ext-all-debug.js"></script>
        <script type="text/javascript" src="exporter/downloadify.min.js"></script>
        <script type="text/javascript" src="exporter/swfobject.js"></script>
        <script type="text/javascript" src="exporter/Formatter.js"></script>
        <script type="text/javascript" src="exporter/Base64.js"></script>
        <script type="text/javascript" src="exporter/Button.js"></script>
        <script type="text/javascript" src="exporter/csvFormatter/CsvFormatter.js"></script>
        <script type="text/javascript" src="exporter/excelFormatter/Cell.js"></script>
        <script type="text/javascript" src="exporter/excelFormatter/Style.js"></script>
        <script type="text/javascript" src="exporter/excelFormatter/Workbook.js"></script>
        <script type="text/javascript" src="exporter/excelFormatter/Worksheet.js"></script>
        <script type="text/javascript" src="exporter/excelFormatter/ExcelFormatter.js"></script>
        <script type="text/javascript" src="exporter/Exporter.js"></script>
        <script type="text/javascript">
            Ext.onReady(function(){
                Ext.create('Ext.grid.Panel', {
                    title: 'test',
                    height: 200,
                    width: 200,
                    renderTo: Ext.getBody(),
                    tbar: [{
                        xtype: 'exporterbutton'
                    }],
                    store: [['test', 'test']],
                    columns: [{
                        header: 'test'
                    }]
                });
            });
        </script>
    </head>
    <body>
    </body>
    </html>
    Thanks!
    Danny

  9. #139
    Sencha User
    Join Date
    Nov 2011
    Posts
    10
    Vote Rating
    0
    jarobi is on a distinguished road

      0  

    Default


    How this works if i use a Ext Js Chart. The 'exporterbutton' have to be inside the chart implementation? But how i put a button or toolbar to the Chart?

  10. #140
    Sencha User
    Join Date
    Jun 2008
    Posts
    157
    Vote Rating
    0
    wiznia is on a distinguished road

      0  

    Default


    The button can be configured in 3 ways:
    1) By putting it inside a gridpanel or treepanel (no extra config needed).
    2) By passing a 'component' config option with an ext component that responds to getStore method.
    3) By passing a 'store' config option.

    I haven't used it with a chart, but I guess that if you provide the store of the chart it should work.

Thread Participants: 113

  1. dawesi (1 Post)
  2. feiji1983 (1 Post)
  3. isaac (1 Post)
  4. radtad (4 Posts)
  5. pavanextjs (5 Posts)
  6. aragm (1 Post)
  7. terjeio (1 Post)
  8. il Sergio (2 Posts)
  9. edspencer (1 Post)
  10. nitingautam (2 Posts)
  11. edykstra (3 Posts)
  12. kalchas (4 Posts)
  13. pardha (1 Post)
  14. shelly (1 Post)
  15. talha06 (3 Posts)
  16. vaucer (1 Post)
  17. SMMJ_Dev (7 Posts)
  18. Ekambos (1 Post)
  19. vispiron (1 Post)
  20. sdruckerfig (4 Posts)
  21. jwcraig (1 Post)
  22. dbrin (1 Post)
  23. scaddenp (2 Posts)
  24. grisevich (1 Post)
  25. semialcruz (3 Posts)
  26. krishnarn1 (1 Post)
  27. mikih (1 Post)
  28. Teemac (3 Posts)
  29. jpcoppol (1 Post)
  30. ssuarez (4 Posts)
  31. trinitrotoluen (1 Post)
  32. aladdina (1 Post)
  33. Mental (3 Posts)
  34. nuskin (5 Posts)
  35. droessner (5 Posts)
  36. HIG (1 Post)
  37. jjerome (4 Posts)
  38. bee (2 Posts)
  39. RAD001 (8 Posts)
  40. RNL (1 Post)
  41. shawon (4 Posts)
  42. parkcity (4 Posts)
  43. carlosgoias (1 Post)
  44. Ewoq (7 Posts)
  45. skotamreddy (1 Post)
  46. another_i (5 Posts)
  47. neerajbherwal (1 Post)
  48. nimda13 (2 Posts)
  49. acteon (2 Posts)
  50. ma1986 (2 Posts)
  51. pierrocknroll (1 Post)
  52. Aranair (7 Posts)
  53. clarkbanks (1 Post)
  54. linyajun (1 Post)
  55. delusion (2 Posts)
  56. Jay Tanwar (2 Posts)
  57. supermarcos (6 Posts)
  58. mmuzamil (1 Post)
  59. amishra06 (1 Post)
  60. hundare (1 Post)
  61. Ecthelion (1 Post)
  62. balajivaikar (2 Posts)
  63. jarobi (1 Post)
  64. ferchotipin (2 Posts)
  65. sebas2515 (3 Posts)
  66. arpeggian (3 Posts)
  67. a_kanin (1 Post)
  68. MeDigital (1 Post)
  69. Vasanthoo7 (3 Posts)
  70. jeora (1 Post)
  71. BlackLine (1 Post)
  72. mrhomer (7 Posts)
  73. KostasP (2 Posts)
  74. rdominelli (4 Posts)
  75. pksiv (1 Post)
  76. yoisen (2 Posts)
  77. opms (1 Post)
  78. Oxii (1 Post)
  79. sarz (6 Posts)
  80. gabsoftware (3 Posts)
  81. 9josh (1 Post)
  82. ananthk (2 Posts)
  83. psnprasad (1 Post)
  84. alex9311 (2 Posts)
  85. felix822 (2 Posts)
  86. mpasacrita@escholar.com (1 Post)
  87. Garry Hawkins (1 Post)
  88. chandrima31 (1 Post)
  89. this-is-sparta (1 Post)
  90. vitalz (7 Posts)
  91. Sheng_Yunzhou (2 Posts)
  92. xdengli (1 Post)
  93. sgscontact (1 Post)
  94. nitingogia@gmail.com (1 Post)
  95. Swetosuvro (1 Post)
  96. sudrak (1 Post)
  97. cdmein (1 Post)
  98. code4jhon (1 Post)
  99. felixfang (2 Posts)
  100. jayasingh1802 (2 Posts)
  101. abdul haq (3 Posts)
  102. luatbravo (1 Post)
  103. gilmaredo@gmail.com (1 Post)
  104. ricardo.lourival (1 Post)
  105. Sundarganesh Ramar (1 Post)
  106. madhavan281981 (1 Post)
  107. suvo (3 Posts)
  108. shankar8rajah1 (1 Post)
  109. benny_GI (1 Post)
  110. cojocarutudor (1 Post)
  111. arnoldvillasanta (4 Posts)
  112. tajashwin (1 Post)
  113. mangeshppatil (2 Posts)
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi