1. #261
    Sencha User
    Join Date
    Sep 2010
    Posts
    38
    Vote Rating
    1
    robshim is on a distinguished road

      0  

    Default


    I have got the grid to download as an xls spreadsheet, but I can't get it to work in IE. (I know it can work in IE because I have seen a site where it does.) Any advice?

  2. #262
    Ext User
    Join Date
    Dec 2010
    Posts
    1
    Vote Rating
    0
    Monz87 is on a distinguished road

      0  

    Default


    i already try the code, but i have an error message. when i click export to excel, i get an error " 'type' is null or not an object. "

    this is my code

    bbar: new Ext.PagingToolbar({
    store: store,
    pageSize: 5,
    plugins: [filters],
    emptyMsg: 'No record found',
    displayInfo:true,
    items:[
    '-',
    {
    text: 'Clear Filter Data',
    handler: function () {
    grid.filters.clearFilters();
    }
    },
    {
    text:'Clear Grouping',
    handler : function(){
    store.clearGrouping();
    }
    },
    {
    text:'Export to Excel',
    handler: function(){ document.location='data:application/vnd.ms-excel;base64,'
    + Base64.encode(grid.getExcelXml()); }
    }
    ]
    })

    i already import exporter.js into my jsp.

    anybody can help me...?

  3. #263
    Ext User
    Join Date
    Aug 2008
    Posts
    8
    Vote Rating
    0
    sKuD24 is on a distinguished road

      0  

    Exclamation It doesn't work

    It doesn't work


    It doesn't work with ExtJs 3.3.0 and FireFox 3.6.13 : when I click the link button, FireFox crash completely !!!

  4. #264
    Sencha User
    Join Date
    Aug 2007
    Posts
    11
    Vote Rating
    0
    isaac is on a distinguished road

      0  

    Default


    Really want this! Great work. I tried this with ExtJS 2 and I'm getting FF to crash and it doesn't work in chrome at all (yes I know about what's supported....)

  5. #265
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    89
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Javascript shouldn't be able to crash browsers. You should report this to the appropriate buglists (Bugzilla & Chromium Issues).

    Anything unusual about what you are exporting (large dataset, unusual characters, etc.)?

  6. #266
    Sencha Premium Member
    Join Date
    Sep 2010
    Posts
    128
    Vote Rating
    1
    Tod is on a distinguished road

      0  

    Default Status?

    Status?


    In reading the last dozen posts, it is very unclear the status of this plugin. Is it working? Does it work with 3.3? Does it work with IE8? Is there an online demonstration -- this is very useful, if I can get it to work!

    Thanks,
    -Tod

  7. #267
    Sencha User
    Join Date
    Jun 2008
    Posts
    3
    Vote Rating
    0
    pops is on a distinguished road

      0  

    Default Same problem than sKuD24, FF crash

    Same problem than sKuD24, FF crash


    FF crashs when I used the animals Base64.encode.
    When I use the btoa function, I got a "String contains an invalid character" exception.

    Below, the input string I want to encode :

    Code:
    <?xml  version="1.0" encoding="utf-8"?><ss:Workbook  xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"  xmlns:x="urn:schemas-microsoft-com:office:excel"  xmlns:o="urn:schemas-microsoft-com:office:office"><o:DocumentProperties><o:Title>undefined</o:Title></o:DocumentProperties><ss:ExcelWorkbook><ss:WindowHeight>9000</ss:WindowHeight><ss:WindowWidth>33050</ss:WindowWidth><ss:ProtectStructure>False</ss:ProtectStructure><ss:ProtectWindows>False</ss:ProtectWindows></ss:ExcelWorkbook><ss:Styles><ss:Style  ss:ID="Default"><ss:Alignment ss:Vertical="Top" ss:WrapText="1"  /><ss:Font ss:FontName="arial" ss:Size="10"  /><ss:Borders><ss:Border ss:Color="#e4e4e4" ss:Weight="1"  ss:LineStyle="Continuous" ss:Position="Top" /><ss:Border  ss:Color="#e4e4e4" ss:Weight="1" ss:LineStyle="Continuous"  ss:Position="Bottom" /><ss:Border ss:Color="#e4e4e4" ss:Weight="1"  ss:LineStyle="Continuous" ss:Position="Left" /><ss:Border  ss:Color="#e4e4e4" ss:Weight="1" ss:LineStyle="Continuous"  ss:Position="Right" /></ss:Borders><ss:Interior  /><ss:NumberFormat /><ss:Protection  /></ss:Style><ss:Style ss:ID="title"><ss:Borders  /><ss:Font /><ss:Alignment ss:WrapText="1"  ss:Vertical="Center" ss:Horizontal="Center" /><ss:NumberFormat  ss:Format="@" /></ss:Style><ss:Style  ss:ID="headercell"><ss:Font ss:Bold="1" ss:Size="10"  /><ss:Alignment ss:WrapText="1" ss:Horizontal="Center"  /><ss:Interior ss:Pattern="Solid" ss:Color="#A3C9F1"  /></ss:Style><ss:Style ss:ID="even"><ss:Interior  ss:Pattern="Solid" ss:Color="#CCFFFF" /></ss:Style><ss:Style  ss:Parent="even" ss:ID="evendate"><ss:NumberFormat  ss:Format="[ENG][$-409]dd-mmm-yyyy;@" /></ss:Style><ss:Style  ss:Parent="even" ss:ID="evenint"><ss:NumberFormat ss:Format="0"  /></ss:Style><ss:Style ss:Parent="even"  ss:ID="evenfloat"><ss:NumberFormat ss:Format="0.00"  /></ss:Style><ss:Style ss:ID="odd"><ss:Interior  ss:Pattern="Solid" ss:Color="#CCCCFF" /></ss:Style><ss:Style  ss:Parent="odd" ss:ID="odddate"><ss:NumberFormat  ss:Format="[ENG][$-409]dd-mmm-yyyy;@" /></ss:Style><ss:Style  ss:Parent="odd" ss:ID="oddint"><ss:NumberFormat ss:Format="0"  /></ss:Style><ss:Style ss:Parent="odd"  ss:ID="oddfloat"><ss:NumberFormat ss:Format="0.00"  /></ss:Style></ss:Styles><ss:Worksheet  ss:Name="undefined"><ss:Names><ss:NamedRange  ss:Name="Print_Titles" ss:RefersTo="='undefined'!R1:R2"  /></ss:Names><ss:Table x:FullRows="1" x:FullColumns="1"  ss:ExpandedColumnCount="14" ss:ExpandedRowCount="3"><ss:Column  ss:AutoFitWidth="1" ss:Width="40" /><ss:Column ss:AutoFitWidth="1"  ss:Width="60" /><ss:Column ss:AutoFitWidth="1" ss:Width="100"  /><ss:Column ss:AutoFitWidth="1" ss:Width="50" /><ss:Column  ss:AutoFitWidth="1" ss:Width="50" /><ss:Column ss:AutoFitWidth="1"  ss:Width="75" /><ss:Column ss:AutoFitWidth="1" ss:Width="75"  /><ss:Column ss:AutoFitWidth="1" ss:Width="75" /><ss:Column  ss:AutoFitWidth="1" ss:Width="75" /><ss:Column ss:AutoFitWidth="1"  ss:Width="150" /><ss:Column ss:AutoFitWidth="1" ss:Width="50"  /><ss:Column ss:AutoFitWidth="1" ss:Width="100" /><ss:Column  ss:AutoFitWidth="1" ss:Width="100" /><ss:Column  ss:AutoFitWidth="1" ss:Width="100" /><ss:Row  ss:Height="38"><ss:Cell ss:StyleID="title"  ss:MergeAcross="13"><ss:Data  xmlns:html="http://www.w3.org/TR/REC-html40"  ss:Type="String"><html:B><html:U><html:Font  html:Size="15">undefined</html:Font></html:U></html:B></ss:Data><ss:NamedCell  ss:Name="Print_Titles" /></ss:Cell></ss:Row><ss:Row  ss:AutoFitHeight="1"><ss:Cell  ss:StyleID="headercell"><ss:Data  ss:Type="String">Fiche</ss:Data><ss:NamedCell  ss:Name="Print_Titles" /></ss:Cell><ss:Cell  ss:StyleID="headercell"><ss:Data ss:Type="String">N°  Offre</ss:Data><ss:NamedCell ss:Name="Print_Titles"  /></ss:Cell><ss:Cell ss:StyleID="headercell"><ss:Data  ss:Type="String">Type</ss:Data><ss:NamedCell  ss:Name="Print_Titles" /></ss:Cell><ss:Cell  ss:StyleID="headercell"><ss:Data  ss:Type="String">Divisible</ss:Data><ss:NamedCell  ss:Name="Print_Titles" /></ss:Cell><ss:Cell  ss:StyleID="headercell"><ss:Data  ss:Type="String">Nature</ss:Data><ss:NamedCell  ss:Name="Print_Titles" /></ss:Cell><ss:Cell  ss:StyleID="headercell"><ss:Data  ss:Type="String">Disponibilité</ss:Data><ss:NamedCell  ss:Name="Print_Titles" /></ss:Cell><ss:Cell  ss:StyleID="headercell"><ss:Data  ss:Type="String">Surface</ss:Data><ss:NamedCell  ss:Name="Print_Titles" /></ss:Cell><ss:Cell  ss:StyleID="headercell"><ss:Data  ss:Type="String">Loyer</ss:Data><ss:NamedCell  ss:Name="Print_Titles" /></ss:Cell><ss:Cell  ss:StyleID="headercell"><ss:Data  ss:Type="String">Prix</ss:Data><ss:NamedCell  ss:Name="Print_Titles" /></ss:Cell><ss:Cell  ss:StyleID="headercell"><ss:Data  ss:Type="String">Adresse</ss:Data><ss:NamedCell  ss:Name="Print_Titles" /></ss:Cell><ss:Cell  ss:StyleID="headercell"><ss:Data  ss:Type="String">CP</ss:Data><ss:NamedCell  ss:Name="Print_Titles" /></ss:Cell><ss:Cell  ss:StyleID="headercell"><ss:Data  ss:Type="String">Commune</ss:Data><ss:NamedCell  ss:Name="Print_Titles" /></ss:Cell><ss:Cell  ss:StyleID="headercell"><ss:Data  ss:Type="String">Offreur</ss:Data><ss:NamedCell  ss:Name="Print_Titles" /></ss:Cell><ss:Cell  ss:StyleID="headercell"><ss:Data  ss:Type="String">Négociateur</ss:Data><ss:NamedCell  ss:Name="Print_Titles"  /></ss:Cell></ss:Row><ss:Row><ss:Cell  ss:StyleID="even"><ss:Data  ss:Type="String">undefined</ss:Data></ss:Cell><ss:Cell  ss:StyleID="even"><ss:Data  ss:Type="String">1</ss:Data></ss:Cell><ss:Cell  ss:StyleID="even"><ss:Data  ss:Type="String">\\prugnieres\testpdfs\DLEF01010991.pdf</ss:Data></ss:Cell><ss:Cell  ss:StyleID="even"><ss:Data  ss:Type="String">8020204</ss:Data></ss:Cell><ss:Cell  ss:StyleID="even"><ss:Data  ss:Type="String">L</ss:Data></ss:Cell><ss:Cell  ss:StyleID="even"><ss:Data  ss:Type="String">O</ss:Data></ss:Cell><ss:Cell  ss:StyleID="even"><ss:Data  ss:Type="String">A</ss:Data></ss:Cell><ss:Cell  ss:StyleID="even"><ss:Data ss:Type="String">Voir  descriptif</ss:Data></ss:Cell><ss:Cell  ss:StyleID="even"><ss:Data  ss:Type="String">357/1 497</ss:Data></ss:Cell><ss:Cell  ss:StyleID="even"><ss:Data  ss:Type="String">70</ss:Data></ss:Cell><ss:Cell  ss:StyleID="even"><ss:Data  ss:Type="String"></ss:Data></ss:Cell><ss:Cell  ss:StyleID="even"><ss:Data ss:Type="String">2/4 ALL╔E DE LA  FRESNERIE</ss:Data></ss:Cell><ss:Cell  ss:StyleID="even"><ss:Data  ss:Type="String">78330</ss:Data></ss:Cell><ss:Cell  ss:StyleID="even"><ss:Data ss:Type="String">FONTENAY LE  FLEURY</ss:Data></ss:Cell><ss:Cell  ss:StyleID="evenundefined"><ss:Data ss:Type="undefined">PAREF  GESTION</ss:Data></ss:Cell><ss:Cell  ss:StyleID="evenundefined"><ss:Data ss:Type="undefined">DE  SAINT REMY  Thibault</ss:Data></ss:Cell></ss:Row></ss:Table><x:WorksheetOptions><x:PageSetup><x:Layout  x:CenterHorizontal="1" x:Orientation="Landscape" /><x:Footer  x:Data="Page &amp;P of &amp;N" x:Margin="0.5"  /><x:PageMargins x:Top="0.5" x:Right="0.5" x:Left="0.5"  x:Bottom="0.8" /></x:PageSetup><x:FitToPage  /><x:Print><x:PrintErrors>Blank</x:PrintErrors><x:FitWidth>1</x:FitWidth><x:FitHeight>32767</x:FitHeight><x:ValidPrinterInfo   /><x:VerticalResolution>600</x:VerticalResolution></x:Print><x:Selected  /><x:DoNotDisplayGridlines  /><x:ProtectObjects>False</x:ProtectObjects><x:ProtectScenarios>False</x:ProtectScenarios></x:WorksheetOptions></ss:Worksheet></ss:Workbook>

  8. #268
    Sencha User alisyah's Avatar
    Join Date
    Oct 2010
    Location
    Indonesia
    Posts
    11
    Vote Rating
    0
    alisyah is on a distinguished road

      0  

    Default cm is undefined

    cm is undefined


    Hello Animal,

    I have tried your code, and it worked well when I paste it to replace code in examples/array-grid.js.

    Now I am trying to use your code in my program.
    The button (which titled as Excel) is shown perfectly. But when I click it, FireBug shows an error:
    "cm is undefined", which links to this code: for (var i = 0; i < cm.getColumnCount(); i++) { ... }

    Does it mean that code "var cm = this.getColumnModel();" is not working?
    What should I check to get it run?

    Fyi, I put the grid in a panel.

    I appreciate any comments or suggestions.
    Thanks.

  9. #269

  10. #270
    Sencha User
    Join Date
    Sep 2010
    Posts
    38
    Vote Rating
    1
    robshim is on a distinguished road

      0  

    Default


    I can't open this site - http://www.developerextensions.com -in IE or Firefox!

Thread Participants: 140

  1. alexb (1 Post)
  2. galdaka (3 Posts)
  3. ghyster (1 Post)
  4. Condor (1 Post)
  5. TopKatz (1 Post)
  6. Jul (1 Post)
  7. mystix (3 Posts)
  8. Foggy (2 Posts)
  9. bloon (1 Post)
  10. fshort (1 Post)
  11. antimatter15 (1 Post)
  12. cocinerox (1 Post)
  13. tobiu (1 Post)
  14. ajaxE (2 Posts)
  15. andreyz (1 Post)
  16. devnull (4 Posts)
  17. mjlecomte (4 Posts)
  18. kevinwu8 (1 Post)
  19. rakesh (1 Post)
  20. hendricd (2 Posts)
  21. gelleneu (1 Post)
  22. isaac (1 Post)
  23. huling (1 Post)
  24. ckr (1 Post)
  25. roopa (1 Post)
  26. loveyeah (1 Post)
  27. zhfxu_cs (1 Post)
  28. Mthor (1 Post)
  29. johnlicy (1 Post)
  30. thoreking (2 Posts)
  31. csqjean (1 Post)
  32. mankz (1 Post)
  33. vietschv (1 Post)
  34. verbi (1 Post)
  35. sanjshah (2 Posts)
  36. mask_hot (1 Post)
  37. calavera (1 Post)
  38. vsmike (1 Post)
  39. vizcano (1 Post)
  40. lakehouse (1 Post)
  41. alaska (2 Posts)
  42. radtad (3 Posts)
  43. jmcneese (1 Post)
  44. Rafael (4 Posts)
  45. calvouze (1 Post)
  46. Joyfulbob (1 Post)
  47. angeldimitrov (2 Posts)
  48. Jack_S (2 Posts)
  49. g13013 (2 Posts)
  50. DamienValentine (5 Posts)
  51. Marcelo Delgado (1 Post)
  52. NoahK17 (8 Posts)
  53. anujg (1 Post)
  54. aproust94 (3 Posts)
  55. pokerking400 (1 Post)
  56. Ronhead (1 Post)
  57. krzak (3 Posts)
  58. cvieira (1 Post)
  59. Efex (5 Posts)
  60. gthe (2 Posts)
  61. miihiir (2 Posts)
  62. pops (1 Post)
  63. emredagli (12 Posts)
  64. larsa (2 Posts)
  65. maggiesnyder (3 Posts)
  66. sam.zhang (1 Post)
  67. kristalgic (1 Post)
  68. wiznia (3 Posts)
  69. frpucci (1 Post)
  70. tinakonda (1 Post)
  71. tBSTAR (1 Post)
  72. tdg2008 (1 Post)
  73. iwagon (1 Post)
  74. psarunkumar (1 Post)
  75. kimmking (1 Post)
  76. sKuD24 (1 Post)
  77. MartinL (2 Posts)
  78. BitPoet (2 Posts)
  79. snoir (3 Posts)
  80. naranda (1 Post)
  81. zhw511006 (1 Post)
  82. bobjbain (1 Post)
  83. korto (1 Post)
  84. wp.joju (1 Post)
  85. hastiok (6 Posts)
  86. dtondo (4 Posts)
  87. Dumas (1 Post)
  88. vvreddy@12 (4 Posts)
  89. TheBim (1 Post)
  90. whodat (2 Posts)
  91. Skunkerbr (2 Posts)
  92. stevenhzj (4 Posts)
  93. Naokai (1 Post)
  94. wayned@escc (2 Posts)
  95. MuadDib-DK (1 Post)
  96. jsundquist (1 Post)
  97. hardc0re (2 Posts)
  98. hzwei (4 Posts)
  99. Galileo_Galilei (1 Post)
  100. SantaBarbarian (4 Posts)
  101. stevieke (1 Post)
  102. megmefleg (1 Post)
  103. Boccara Jonathan (1 Post)
  104. Surinder singh (2 Posts)
  105. KrullWarKing (1 Post)
  106. brandnewdrew (1 Post)
  107. MrRoyce (1 Post)
  108. Spongerusher (1 Post)
  109. teraphy (2 Posts)
  110. Pekka Karalahti (3 Posts)
  111. Sergii (1 Post)
  112. Cassio11 (1 Post)
  113. myth (1 Post)
  114. spor (6 Posts)
  115. StagnantIce (2 Posts)
  116. shailendra (2 Posts)
  117. ext_user1 (1 Post)
  118. kenny_mk (1 Post)
  119. mpacheco (1 Post)
  120. Centurus (1 Post)
  121. andyfly (1 Post)
  122. darmandovargas@gmail.com (1 Post)
  123. zjuthhy (3 Posts)
  124. robshim (3 Posts)
  125. Tod (1 Post)
  126. bipen (2 Posts)
  127. alisyah (1 Post)
  128. Monz87 (1 Post)
  129. alssst (1 Post)
  130. aggie (1 Post)
  131. bradelsky (1 Post)
  132. lagrezd (1 Post)
  133. ma1986 (1 Post)
  134. Sabareesh (2 Posts)
  135. top_1 (1 Post)
  136. Vasanthoo7 (1 Post)
  137. garrek99 (2 Posts)
  138. opik (1 Post)
  139. shankar8rajah1 (1 Post)
  140. tdobberphul (4 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