1. #141
    Touch Premium Member
    Join Date
    Feb 2011
    Location
    NJ
    Posts
    311
    Vote Rating
    51
    droessner is a jewel in the rough droessner is a jewel in the rough droessner is a jewel in the rough

      0  

    Default


    Quote Originally Posted by wiznia View Post
    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.
    Just a quick follow-up for this. I debugged and it looks like it's happening in swfobject but I assume that the bug itself is because of Internet Explorer. I narrowed it down to the exact line that changes the title when it is rendered. When swfobject sets aa.outerHTML the title of the document changes. I just put some listeners on the exporter component to change the title back so I don't have to mess with swfobject.

  2. #142
    Sencha User
    Join Date
    May 2011
    Posts
    1
    Vote Rating
    0
    RNL is on a distinguished road

      0  

    Default


    Hello,

    Is it possible to download all the records if it has pagination??
    It only include the current page..

    thx

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

      0  

    Default


    droessner, glad you found a workaround, not very pretty, but if it works...
    RNL, the export only has the loaded records, I thought it would be too dangerous to ask the server for all the data, since there may be millions of records...

  4. #144
    Sencha User
    Join Date
    Feb 2012
    Posts
    7
    Vote Rating
    0
    jeora is on a distinguished road

      0  

    Question how to hide checkbox selection column when i export grid's data to excel file

    how to hide checkbox selection column when i export grid's data to excel file


    screenshot.jpg

    my columns are code, name, price and add checkboxSelection model!...
    i added export button and success download excel file.. but this(upload image) is what i don't want..
    So i tried edit Export.js file.... and try try try..but i failed..
    (
    var columns = Ext.Array.filter(grid.columns, function(col) {
    return ((!col.hidden) && (col.xtype != "checkbox")); // && (!col.xtype || col.xtype != "actioncolumn");
    });
    )

    Anyone help me plz..

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

      0  

    Default


    mmm, I don't remember quite well, but for some reason I commented out the part that filtered the actioncolumns... although I don't know what xtype the column of the checkboxselectionmodel is...
    Your solution seems pretty much right, there it's filtering all the hidden columns.
    Put a breakpoint in there and look at what xtype should be and filter it.

  6. #146
    Sencha User
    Join Date
    Aug 2011
    Location
    Singapore
    Posts
    22
    Vote Rating
    0
    Aranair is on a distinguished road

      0  

    Default


    Quote Originally Posted by Vasanthoo7 View Post
    Hi Wiznia, Thanks for the quick reply. the CSV export works well except a few issues:

    The first column in the header is taking this character:

    Also the date columns are showing as ####### as the value for start and end date.

    ===

    If you could also point me in the right direction for uploading excel or csv file onto a grid using EXTJS 4. that would be great.
    I think I am facing the same problem with the
    output.
    I believe that may be because of the checkbox column, which I have no idea how to avoid :/
    Is there anyway I can get it to bypass the checkbox/first column?


    -Nevermind, solved it. I just disabled the checkboxcolumn instead for that download section. Btw Wiznia thanks for the work!

    Also, I was just wondering if you have any intentions to make the excel formatter work? Currently, my data is getting correctly rendered in CSV format but it seems that whenever I use excel formatter, none of my programs can open it :/



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

      0  

    Default


    There are a lot of problems with the excel formatter and different versions and platforms of excel or other spreadsheet programs. For now, I'm using the csv which is easily imported into any program.

  8. #148
    Sencha User
    Join Date
    Aug 2011
    Location
    Singapore
    Posts
    22
    Vote Rating
    0
    Aranair is on a distinguished road

      0  

    Default


    Yeah.. I removed some code and changed some stuff and it could work for excel 2010. But, it broke compatibility with OpenOffice unless I change it to xlsx manually lol. I believe most of the problems are just in the tags:/

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

      0  

    Default


    Ok, if you find a solution, make me a pull request on github...

  10. #150
    Sencha User
    Join Date
    Aug 2011
    Location
    Singapore
    Posts
    22
    Vote Rating
    0
    Aranair is on a distinguished road

      0  

    Default


    we decided to just cater to excel users heh and leave openoffice with csv instead lol.

    Btw, have you got downloadify to work on firefox/safari? The buttons aren't showing up at all for me in those browsers. The script isn't even there if i inspect the elements heh.

Thread Participants: 112

  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. gilmaredo@gmail.com (1 Post)
  103. ricardo.lourival (1 Post)
  104. Sundarganesh Ramar (1 Post)
  105. madhavan281981 (1 Post)
  106. suvo (3 Posts)
  107. shankar8rajah1 (1 Post)
  108. benny_GI (1 Post)
  109. cojocarutudor (1 Post)
  110. arnoldvillasanta (4 Posts)
  111. tajashwin (1 Post)
  112. mangeshppatil (2 Posts)